DW2TF icon indicating copy to clipboard operation
DW2TF copied to clipboard

"Python has stopped working"

Open tomrichardon opened this issue 5 years ago • 2 comments

Hello ! I meet a problem trying to convert YOLOv2 weights to Tensorflow .ckpt.

When I use the following command :

python main.py --cfg data/yolov2.cfg --weights data/yolov2.weights --output data/ --prefix yolov2/ --gpu 0 --layers 0 --training

everything goes well at first, then I get a "Python has stopped working" pop-up during execution of line 92 in main.py. I do not get any other error message but I end up with a temp file

yolov2.ckpt.index.tempstate2841949181619307473

and a model I can't use.

Do you have any idea what could be causing this issue ?

I am using Python 3.6.8 by the way, in case it helps.

tomrichardon avatar May 28 '19 15:05 tomrichardon

@tomrichardon Have you given it a try on a non Windows platform? I've seen similar issues in the past on Windows env.

sjain-stanford avatar Jul 30 '19 01:07 sjain-stanford

Not yet, but I'll keep it in mind, thank you.

tomrichardon avatar Aug 01 '19 08:08 tomrichardon