Comments (3)
train.py里面·的·@autocast()要删掉,但我不清楚是不是这个原因哈,为NaN的话你可以尝试调节下学习率啥的,或者是标签有问题
from data-science-competition.
from data-science-competition.
RuntimeWarning: invalid value encountered in true_divide
iu = np.diag(self.hist) / (self.hist.sum(axis=1) + self.hist.sum(axis=0) - np.diag(self.hist))
您好,请问为什么会有除数为0的报错,我用了已经用process.py处理过数据集,请大佬解惑
我给self.hist加了个很小的值,应该可以除数为0的问题
from data-science-competition.
Related Issues (20)
- 运行瓷砖检测比赛train.py的时候,调试缺少这个文件? HOT 1
- SWA HOT 2
- 医学影像报告异常检测的线下logloss与官方计算方式的差别 HOT 2
- 线上线下分数不同问题 HOT 2
- 广东工业的yolov5的那个nms HOT 1
- 关于数据标签减一的问题
- wechat 2021 HOT 4
- 招行fintech的最终代码和成绩,可以分享嘛? HOT 2
- wechat2021 HOT 8
- 有遥感影像高分辨率分割的数据集吗?大佬可以分享一下吗?
- 请问可以分享瓷砖的复赛训练集吗
- 关于Shopee-Price Match Guarantee竞赛数据处理的问题 HOT 2
- 西安市2021年“迎全运、强技能、促提升”高技能人才技能大赛的数据大佬还有吗?有的话麻烦分享一下 HOT 1
- 天气情况图像分类 HOT 2
- 2022-AI challengers TypeError: __init__() got an unexpected keyword argument 'T_0' HOT 1
- 广东工业智造创新大赛切图保存子图问题 HOT 1
- ImageForgeryLocationChallenge/train.py
- GAIIC: 2022 赛道1竞赛开源代码5折CV疑问 HOT 7
- Asking for help with the access to the dataset HOT 3
- 切图步长 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from data-science-competition.