Example Fine-tuning CaffeNet for Style Recognition on “Flickr Style” Data is broken.
Can't download any images by the scripts (examples/finetune_flickr_style/assemble_data.py
)
Root cause should be missing link of images.
python examples/finetune_flickr_style/assemble_data.py
Downloading 80000 images with 3 workers...
Writing train/val for 0 successfully downloaded images.
Links to images are broken (e.g. http://farm3.staticflickr.com/2887/12524447173)
Operating system: OSX yosemite
Python or MATLAB version (for pycaffe and matcaffe respectively): python 3.5
If anyone needs to find substitution download links, please refer to my code.
@joelthchao I encountered to the same issue, then refered to your solution but there are some mismatches, because of using 2.7 python version ( like print and so on) ,,,after modifying them, there is an error like File "examples/finetune_flickr_style/assemble_data.py", line 47, in main
images_per_style = int(sys.argv[4])
ValueError: invalid literal for int() with base 10: '--label=5'
, I guess that it does not contain digits value . Do you have any opinion to sort out this error
The purpose and entry of assembly_data.py
are different between my script and the caffe's. You may use my code to download the images. (instruction) Then use these image to continue your work.
Most helpful comment
If anyone needs to find substitution download links, please refer to my code.