Retraining model on new dataset
See original GitHub issuei was successful in testing the trained model by getting the trained weights you uploaded in Dropbox. However, I want to retrain the model on new training data.
I added one new image for the existing training data of five images following the instructions in the repo and added new images in the image,
gt_image_instance
, and gt_image_binary
folders, but i get errors. I enter this line from your repo in bash:
python tools/train_lanenet.py --net vgg --dataset_dir data/training_data_example/
The errors I get are:
cv2.error: OpenCV(3.4.2) /Users/travis/build/skvark/opencv-python/opencv/modules/imgproc/src/resize.cpp:4044: error: (-215:Assertion failed) !ssize.empty() in function ‘resize’
and sometimes i get this error:
ValueError: Variable lanenet_loss/inference/encode/conv1_1/conv/W already exists
I already modified the train.txt and val.txt and changed the file paths for the images found locally on my machine.
How to fix this?
Issue Analytics
- State:
- Created 5 years ago
- Comments:69 (31 by maintainers)
@chaine09 Since the training process works I will close this issue:)
@chaine09 That may be caused by the improper dataset preparation. Could you please show me how you prepare your dataset including your dataset folder structure and your train.txt file