deep-learning-models
deep-learning-models copied to clipboard
how to change the models' path ?
hi,
for
No space left on device: '/home/xm1/.keras/models'
so I want to change the path of the model
/usr/local/lib/python3.5/dist-packages/keras_applications/resnet50.py:265: UserWarning: The output shape of `ResNet50(include_top=False)` has been changed since Keras 2.2.0.
warnings.warn('The output shape of `ResNet50(include_top=False)` '
Traceback (most recent call last):
File "org2_ResNet50.py", line 101, in <module>
input_shape=input_shape, )
File "/usr/local/lib/python3.5/dist-packages/keras/applications/__init__.py", line 28, in wrapper
return base_fun(*args, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/keras/applications/resnet50.py", line 11, in ResNet50
return resnet50.ResNet50(*args, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/keras_applications/resnet50.py", line 290, in ResNet50
md5_hash='a268eb855778b3df3c7506639542a6af')
File "/usr/local/lib/python3.5/dist-packages/keras/utils/data_utils.py", line 182, in get_file
os.makedirs(datadir)
File "/usr/lib/python3.5/os.py", line 241, in makedirs
mkdir(name, mode)
Could you give me some help ? thx