I am trying to follow the ImagNet tutorial.
I had the dataset already, so I just skipped the steps for downloading it.
Next I cropped them to 256*256.
The next step involves computing the mean.
I have the paths all correct in the file: make_imagenet_mean.sh
I am pasting the file contents here:
./build/tools/compute_image_mean examples/imagenet/ilsvrc12_train_lmdb \ data/ilsvrc12/imagenet_mean.binaryproto
echo "Done."
I run it using: ./examples/imagenet/make_imagenet_mean.sh
but i get an error: terminate called after throwing an instance of 'std::length_error'
what(): basic_string::_S_create
Aborted (core dumped)
Done.
The error suggests that somewhere in the code it's trying to create a string bigger than std::string::max_size().
Can anyone tell me what's the error and how to rectify it?
Thanks
I am facing same problem anyone fixed this issue?