tensorflow-resnet
tensorflow-resnet copied to clipboard
inference_small function return none
sudo python train_cifar.py
WARNING:tensorflow:VARIABLES collection name is deprecated, please use GLOBAL_VARIABLES instead; VARIABLES will be removed after 2017-03-02.
Traceback (most recent call last):
File "train_cifar.py", line 320, in
add “ return inference_small_config(x, c)” in inference_small function
"add “ return inference_small_config(x, c)” in inference_small function" is work.
To fix the error, just modify Line 104 in resnet.py to "return inference_small_config(x, c)" as @ymzhang1919 said