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

Hai error pops out when i trained,please help #32

Open
Manueljohnson063 opened this issue Feb 17, 2021 · 2 comments
Open

Hai error pops out when i trained,please help #32

Manueljohnson063 opened this issue Feb 17, 2021 · 2 comments

Comments

@Manueljohnson063
Copy link

Traceback (most recent call last):
File "point_pillars_training_run.py", line 26, in
pillar_net.load_weights(os.path.join(MODEL_ROOT, "model.h5"))
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/engine/training.py", line 2227, in load_weights
with h5py.File(filepath, 'r') as f:
File "/usr/local/lib/python3.6/dist-packages/h5py/_hl/files.py", line 408, in init
swmr=swmr)
File "/usr/local/lib/python3.6/dist-packages/h5py/_hl/files.py", line 173, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5f.pyx", line 88, in h5py.h5f.open
OSError: Unable to open file (unable to open file: name = './logs/model.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)

@dvrohan
Copy link

dvrohan commented Feb 26, 2021

Same for me. How can we load weights before training the model?

@Manueljohnson063
Copy link
Author

hai bro please comment pillar_net.load_weights(os.path.join(MODEL_ROOT, "model.h5")) this then it wil be fine

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

2 participants