When I use anaconda environment to run this command, it appears error: cannot open resource. Can you help me out?
(ml) JichunMacBook-Pro:Style_Migration_For_Artistic_Font_With_CNN SpringCurry$ python neural_style_transfer.py ./example/fire.png .
/Users/SpringCurry/anaconda3/envs/ml/lib/python3.6/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
from ._conv import register_converters as _register_converters
Using TensorFlow backend.
Traceback (most recent call last):
File "neural_style_transfer.py", line 171, in <module>
smooth_times=smooth_times,noise=noise)
File "neural_style_transfer.py", line 88, in char_to_picture
font = ImageFont.truetype(font_dir, font_size)
File "/Users/SpringCurry/anaconda3/envs/ml/lib/python3.6/site-packages/PIL/ImageFont.py", line 261, in truetype
return FreeTypeFont(font, size, index, encoding, layout_engine)
File "/Users/SpringCurry/anaconda3/envs/ml/lib/python3.6/site-packages/PIL/ImageFont.py", line 144, in __init__
self.font = core.getfont(font, size, index, encoding, layout_engine=layout_engine)
OSError: cannot open resource