Comments (6)
是的,但是时间很慢
from dddd_trainer.
速度还可以吧MBP M2P芯片,12000个样本,十几分钟就好了
from dddd_trainer.
速度还可以吧MBP M2P芯片,12000个样本,十几分钟就好了
@CHINAYNINI
请问可以看一下我这个为什么不可以么?将近20个小时了,然后log:
2023-08-25 14:31:56.929 | INFO | utils.train:start:137 - [2023-08-25-14_31_55] Epoch: 84 Step: 78000 LastLoss: 0.00012210002751089633 AvgLoss: 0.0001903036296425853 Lr: 0.004640778883287701 Acc: 0.90625
2023-08-25 14:33:57.223 | INFO | utils.train:start:108 - [2023-08-25-14_33_55] Epoch: 84 Step: 78100 LastLoss: 0.0002089805930154398 AvgLoss: 0.00016942865564487875 Lr: 0.0045479633056219465
2023-08-25 14:35:48.219 | INFO | utils.train:start:108 - [2023-08-25-14_35_47] Epoch: 84 Step: 78200 LastLoss: 0.00014516110240947455 AvgLoss: 0.00017116148985223844 Lr: 0.0045479633056219465
我的配置没变动,我以为target中的epoch是20,现在已经84了。 也是用的测试数据集
配置TARGET: {Accuracy: 0.97, Cost: 0.05, Epoch: 20}
from dddd_trainer.
我这里100个图片,32G I9 Mac跑了三天还没完又是什么鬼?
2023-09-18 09:30:04.030 | INFO | utils.train:start:108 - [2023-09-18-09_30_03] Epoch: 141633 Step: 424900 LastLoss: 1.9247649106546305e-05 AvgLoss: 1.7899745298564085e-05 Lr: 0.0001380155583766437
from dddd_trainer.
在colab上跑acc正常,把整个项目原封不动复制到本地mps跑acc就一直0.0...
from dddd_trainer.
现代的模型已经用 cpu 训练的速度已经没法接受了。
其实 pytorch 是支持 mac 的,官网链接里都有 mac 版的下载方式
mac 下不用 cuda,只要声明 device 为 pytorch.device("mps")
就可以使用 mac 的 gpu 了。我没用过这个工程训练,不过我认为改这里的源码应该就能生效了。
Lines 191 to 196 in 745c29e
from dddd_trainer.
Related Issues (20)
- 有可以提供参考的训练时长吗 HOT 3
- 清晰空心数字无法识别 HOT 2
- 是否支持滑块验证码学习? HOT 4
- 导出时报错:TypeError: export() got an unexpected keyword argument '_retain_param_name'
- CtrlC中断训练后,重新执行训练命令后报错
- 请问CPU训练只有阶段数据没有模型数据为何 HOT 2
- 能放出来同花顺客户端训练的权重吗?
- 这个报错是啥意思 HOT 2
- 因磁盘满而中断后,无法自动恢复 HOT 1
- 电脑是2060显卡能搞吗 HOT 4
- 断点恢复训练问题
- 学习素材怎么准备 HOT 2
- 可以提供坐标点选的训练吗 HOT 1
- 将ddddocr换成其他CNN比如mobilenetv2会变成NAN
- 训练了一天英文数字验证码,正确率真的感人,是我电脑不行吗....
- 训练测试集一段时间报错
- StopIteration 問題
- 希望能出一版colab上可以运行的ipynb代码
- acc准确率始终是0
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 dddd_trainer.