訓練自己的模型時跳出KeyError: 'val_loss'
我在官網範例中keras-yolo3-master的train.py進行自己的模型訓練
當Epoch跑到3時都會跳出KeyError: 'val_loss'的訊息
請問是在哪個地方漏了呢?
Tagged:
The discussion has been closed due to inactivity. To continue with the topic, please feel free to post a new discussion.
Comments
Hi Fred,
方便請你說一下keras-yolo3-master是從哪邊抓的嗎?
目前提供的training範例應該是yolov5與fcos,所以想跟你確認一下你的取得來源
Hi Ethon,
資料來源:https://github.com/qqwweee/keras-yolo3
參考來源:https://www.kneron.com/forum/discussion/53/legacy-v0-12-example-keras-kl520-how-to-convert-and-compile-tiny-yolo-v3-from-github-project#latest
Hi Fred,
文章(https://www.kneron.com/forum/discussion/53/legacy-v0-12-example-keras-kl520-how-to-convert-and-compile-tiny-yolo-v3-from-github-project#latest)
是示範一個例子如何將github上的開源軟體中的pretrain model轉換成nef.
你在訓練時發生錯誤有可能是在訓練時參數設定或是操作有誤,建議可以詳閱該開源軟體的文件說明:
https://github.com/qqwweee/keras-yolo3/blob/master/README.md
如果該文件如有遺漏或是軟體有bug,建議可以去該開源軟體的github討論區討論或者看看別人是否也問過跟你一樣的問題:
https://github.com/qqwweee/keras-yolo3/issues