问题1
error: Caught error in DataLoader worker process 0.
解决方法:在train.py中搜索train_loader,将num_workers改成0
问题2
AttributeError: 'FreeTypeFont' object has no attribute 'getsize'
解决办法:pip install Pillow==9.5.0,把原来的10.2版本的降下来
问题3
IndexError: list index out of range
解决办法:根据提示可能是copy_paste
函数的问题,在hyp.scratch-high.yaml中将
copy_paste: 0.3 # segment copy-paste (probability) 这一行的0.3改为0.0