Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to change the models' path ? #115

Open
ucasiggcas opened this issue Nov 18, 2019 · 0 comments
Open

how to change the models' path ? #115

ucasiggcas opened this issue Nov 18, 2019 · 0 comments

Comments

@ucasiggcas
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant