tyagi-iiitv / PointPillars

GNU General Public License v3.0
105 stars 47 forks source link

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

Open Manueljohnson063 opened 3 years ago

Manueljohnson063 commented 3 years ago

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 commented 3 years ago

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

Manueljohnson063 commented 3 years ago

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