iT邦幫忙

1

yolov7遇到的問題怎麽辦?

  • 分享至 

  • xImage

Exception: train: Error loading data from ./datasets/custom/train2017.txt: train: No images found

在訓練過程中出現找不到image的情況,請問這是什麽原因,怎麽解決(ps:路徑都沒有問題)

解決方式:Yolo5也會遇到問題,就是把要訓練的dataset放在yolov7資料夾同一個目錄下

win895564 iT邦新手 1 級 ‧ 2023-02-10 15:03:51 檢舉
雖然我沒接觸過yolov7 但路徑那個不是文字檔嗎 ?
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

2 個回答

0
增廣建文
iT邦研究生 5 級 ‧ 2023-02-11 01:15:24

https://github.com/WongKinYiu/yolov7/blob/2fdc7f14395f6532ad05fb3e6970150a6a83d290/utils/datasets.py#L384

照error跟source code對比是讀檔錯誤吧
先把file structure跟txt內容附上

0

我要發表回答

立即登入回答