calico / basenji

Sequential regulatory activity predictions with deep convolutional neural networks.
Apache License 2.0
409 stars 125 forks source link

basenji_train.py has bugs when running according to your tutorial #49

Closed tomcat123a closed 5 years ago

tomcat123a commented 5 years ago

I installed tensorflow-gpu,version 1.4, and downloaded the data according to your tutorial. https://github.com/calico/basenji/blob/master/tutorials/train_test.ipynb .Then I ran the code at cell 2, image

basenji_train.py --augment_rc --ensemble_rc --augment_shifts "1,0,-1" --logdir models/heart --params models/params_small.txt --train_data data/heart_l131k/tfrecords/train.tfr --test_data data/heart_l131k/tfrecords/valid.tfr

Then a bug was given as below,"local variable 'metrics_queue' referenced before assignment". image

Could you please help solve the problem? Thanks a lot.

davek44 commented 5 years ago

Thanks for the bug report. I just pushed the fix