- 博客(7)
- 收藏
- 关注
原创 RuntimeError: Expected floating point type for target with class probabilities, got Int
在跑train.py文件时候,
2023-03-14 10:11:44
1551
原创 cv2.error: OpenCV(4.7.0) : error: (-215:Assertion failed)) in function fillPoly‘
发现都有输出值且我之前跑测试数据时是可以跑通的,但是不知道为什么转成正式数据时就会报错。cv2.fillpoly中rst或cnts是空置,于是就选择先print一下。原因是因为上述重的cnts传入的数据并不是int32的。在上述代码中加入,dtype = int32即可。
2023-02-28 14:29:41
1059
原创 ping: cannot resolve github.com: Unknown host
【代码】ping: cannot resolve github.com: Unknown host。
2023-02-20 16:45:34
1641
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人