【计算机视觉】常见报错

目录

1. AttributeError: Can't pickle local object 'train..collate_fn'

2. cv2.ernor: penCV(4.6.0) n: alopenvw-pythanlopencvo-python oncvlmoutesirgproelarc Loton .op.12: evw:(-215.Assartion faitad ! syc.empty() in functiom ‘ow.ovtatar'

3. CUDA out of menoy . Tnied to aloate 30,0 NiB(GPl 0; 6.0 6iB total capacity; 4.87 i alredy al0ocatet; 0 bytes fre; 5.16 iB resarwed in total by Ryforeth) 1f i2


1. AttributeError: Can't pickle local object 'train..collate_fn'

【计算机视觉】常见报错_第1张图片

解决:改num_workers为0  

2. cv2.ernor: penCV(4.6.0) n: alopenvw-pythanlopencvo-python oncvlmoutesirgproelarc Loton .op.12: evw:(-215.Assartion faitad ! syc.empty() in functiom ‘ow.ovtatar'

 【计算机视觉】常见报错_第2张图片

 解决:一般是图片问题,没有排好序

3. CUDA out of menoy . Tnied to aloate 30,0 NiB(GPl 0; 6.0 6iB total capacity; 4.87 i alredy al0ocatet; 0 bytes fre; 5.16 iB resarwed in total by Ryforeth) 1f i2

【计算机视觉】常见报错_第3张图片

解决:改batch-size为4  

你可能感兴趣的:(计算机视觉,python,java,深度学习,人工智能,计算机视觉)