a-PyTorch-Tutorial-to-Image-Captioning icon indicating copy to clipboard operation
a-PyTorch-Tutorial-to-Image-Captioning copied to clipboard

skimage warning

Open volquelme opened this issue 5 years ago • 1 comments

i tried to generate caption with caption.py. but, i met this warning and script was stopped.

(img_cap_py3) volquelme@ubuntu:~/show_attend_and_tell_pytorch$ python caption.py --img='test_image/test1.jpg' --model='BEST_checkpoint_flickr8k_5_cap_per_img_5_min_word_freq.pth.tar' --word_map='Flickr8k_output/WORDMAP_flickr8k_5_cap_per_img_5_min_word_freq.json' --beam_size=5 /home/volquelme/anaconda3/envs/img_cap_py3/lib/python3.6/site-packages/skimage/transform/_warps.py:24: UserWarning: The default multichannel argument (None) is deprecated. Please specify either True or False explicitly. multichannel will default to False starting with release 0.16.

how can i solve this?

volquelme avatar Apr 24 '19 01:04 volquelme

me, too!!!

"~~python3.7/site-packages/skimage/transform/_warps.py:23: UserWarning: The default multichannel argument (None) is deprecated. Please specify either True or False explicitly. multichannel will default to False starting with release 0.16. warn('The default multichannel argument (None) is deprecated. Please ' "

umemurak avatar Nov 11 '19 04:11 umemurak