TF-Tutorials icon indicating copy to clipboard operation
TF-Tutorials copied to clipboard

In deep network comparison

Open dotasheepliu opened this issue 9 years ago • 1 comments

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?

dotasheepliu avatar Nov 22 '16 02:11 dotasheepliu

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.

xuyifeng-nwpu avatar Mar 26 '17 00:03 xuyifeng-nwpu