keras-yolo2
keras-yolo2 copied to clipboard
after first iteration i get the following error
File "train.py", line 101, in
I'm not sure how I solved it, I think it was something related to paths or slash. something like that. Good luck!
I was getting a similar error. The solution is to fill up the concerned config.json file parameters. In my case, I had to input a non-null value for config[‘train’][‘saved_weights_name’]. Hope this helps.
modify f = h5dict(filepath, mode='w')
to
f = h5dict(str(filepath), mode='w')
Thankyou rohitbhio
**> modify f = h5dict(filepath, mode='w')
to
f = h5dict(str(filepath), mode='w')
**
In which file does this exist ?
Thankyou rohitbhio
where did you add the line of code proposed by rohitbhio ?
@HAMZARaouia , As you can see from the stack trace,
File "/usr/local/lib/python2.7/dist-packages/keras/engine/saving.py", line 379, in save_model.
This is where you need to make the modification.