Giter VIP home page Giter VIP logo

poet's People

Contributors

norybaby avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

poet's Issues

关于ppl的定义

您好,阅读您代码过程中发现您是使用将loss取平均来计算ppl的。
但是查阅网上资料后我发现其定义是生成字符的概率的几何平均数。
所以想请问下两种定义有什么不同吗?

Train 失败

Writing to /usr/local/poet-master/output_poem/tensorboard_log/1555315332

============================================================
All final and intermediate outputs will be stored in output_poem/

04:02:12 INFO:args are:
Namespace(batch_size=16, best_model='', best_valid_ppl=inf, cell_type='lstm', data_path='./data/poem/', debug=False, dropout=0.0, embedding_size=128, encoding='utf-8', hidden_size=128, init_dir='', init_model='', input_dropout=0.0, learning_rate=0.005, max_grad_norm=5.0, num_epochs=5, num_layers=2, num_unrollings=64, output_dir='output_poem', progress_freq=100, save_best_model='output_poem/best_model/model', save_model='output_poem/save_model/model', tb_log_dir='/usr/local/poet-master/output_poem/tensorboard_log/1555315332', test=False, train_frac=0.9, valid_frac=0.05, verbose=0)
04:02:12 INFO:Parameters are:
{
"batch_size": 16,
"cell_type": "lstm",
"dropout": 0.0,
"embedding_size": 128,
"hidden_size": 128,
"input_dropout": 0.0,
"learning_rate": 0.005,
"max_grad_norm": 5.0,
"num_layers": 2,
"num_unrollings": 64
}

tensor_file:./data/poem/poem_ids.txt
Loading dataset from ./data/poem/poem_ids.txt
file maxSeqLen = 64
Loaded ./data/poem/: training samples:65235 ,validationSamples:3837,testingSamples:7676
tensor_file:./data/poem/poem_ids.txt
Loading dataset from ./data/poem/poem_ids.txt
Killed

这个是什么原因呢? 谢谢

training is killed

01:20:32 INFO:Start training
2018-12-15 13:20:32.416065: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
Killed

what's wrong..

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.