TF-Tutorials
TF-Tutorials copied to clipboard
In deep network comparison
Hello! I followed the "Deep Network Comparison" tutorial: I put the DenseNet code block and all other code blocks (except for RegularNet, ResNet, and HighwayNet) into a python file, and tried to run it. However I see:
python densenet.py
<IPython.core.display.HTML object>
Switched CIFAR set to 2
Step: 0 Loss: 2.64302 Accuracy: 0.109375
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Did I run it in a wrong way? How should I solve this problem?
You should run this code in jupyter notebook ,but "python densenet.py"
Although I can run it correctly , the accuracy is still very low and the training time is over 10 hours.