thibo73800 / deep-generation

I used in this project a reccurent neural network to generate c code based on a dataset of c files from the linux repository.
https://becominghuman.ai/how-to-train-a-neural-network-to-code-by-itself-a432e8a120df
110 stars 60 forks source link

different file format? #1

Closed xc611 closed 7 years ago

xc611 commented 7 years ago

Hi,

I try to run your code but got an error:

python train.py

then

python use.py checkpoints/dump_model_10.ckpt.data-00000-of-00001

received this error:

DataLossError (see above for traceback): Unable to open table file checkpoints/dump_model_10.ckpt.data-00000-of-00001: Data loss: not an sstable (bad magic number): perhaps your file is in a different file format and you need to use a different restore operator?

Jack

thibo73800 commented 7 years ago

I think the path is wrong.

Try this instead : python use.py checkpoints/dump_model_10.ckpt

Keep me notified