AttributeError: 'module' object has no attribute 'img_rnorm_layer' - while running image_classification demo training
Created by: deepcodingman
I am trying to run image_classification demo but I am getting error during running train.sh (see log at the end). I will appreciate your help in figuring out what is going wrong here.
- Mandeep
[17:54 ~/paddle/src/paddle/demo/image_classification] > ./train.sh
I0902 17:54:59.306221 16647 Util.cpp:144] commandline: /home/deepbeast/paddle/bin/bin/../opt/paddle/bin/paddle_trainer --config=vgg_16_cifar.py --dot_period=10 --log_period=100 --test_all_data_in_one_period=1 --use_gpu=1 --trainer_count=1 --num_passes=200 --save_dir=./cifar_vgg_model
I0902 17:55:04.945137 16647 Util.cpp:113] Calling runInitFunctions
I0902 17:55:04.945307 16647 Util.cpp:126] Call runInitFunctions done.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/paddle/trainer/config_parser.py", line 3113, in parse_config_and_serialize
config = parse_config(config_file, config_arg_str)
File "/usr/local/lib/python2.7/dist-packages/paddle/trainer/config_parser.py", line 3089, in parse_config
execfile(config_file, make_config_environment(config_file, config_args))
File "vgg_16_cifar.py", line 15, in
from paddle.trainer_config_helpers import *
File "/usr/local/lib/python2.7/dist-packages/paddle/trainer_config_helpers/init.py", line 19, in
from layers import *
AttributeError: 'module' object has no attribute 'img_rnorm_layer'
F0902 17:55:05.116209 16647 PythonUtil.cpp:130] Check failed: (ret) != nullptr Python Error: * Check failure stack trace: *
@ 0x7fd2bd0f65cd google::LogMessage::Fail()
@ 0x7fd2bd0f8433 google::LogMessage::SendToLog()
@ 0x7fd2bd0f615b google::LogMessage::Flush()
@ 0x7fd2bd0f8e1e google::LogMessageFatal::~LogMessageFatal()
@ 0x89fcb2 paddle::callPythonFuncRetPyObj()
@ 0x8a0176 paddle::callPythonFunc()
@ 0x6fb681 paddle::TrainerConfigHelper::TrainerConfigHelper()
@ 0x6fc99d paddle::TrainerConfigHelper::createFromFlags()
@ 0x547dc4 main
@ 0x7fd2bc280830 __libc_start_main
@ 0x5501a9 _start
@ (nil) (unknown)
/home/deepbeast/paddle/bin/bin/paddle: line 46: 16647 Aborted (core dumped) ${DEBUGGER} $MYDIR/../opt/paddle/bin/paddle_trainer ${@:2}
No data to plot. Exiting!