Comments (5)
@xinhaojin 哈喽,这个不能单卡训练吗?我只有一块GPU运行报错,好像是关于显卡的问题
from damo-yolo.
你好,将--nproc_per_node设为1即可进行单卡训练。
from damo-yolo.
@jyqi 你好帅哥,我已经按照你的提示设置了单卡,但是报了以下的错误:
2022-11-30 10:10:14.802 | ERROR | main::68 - An error has been caught in function '', process 'MainProcess' (25404), thread 'M
ainThread' (8124):
Traceback (most recent call last):
File "tools\train.py", line 68, in
main()
└ <function main at 0x00000253ED19A318>
File "tools\train.py", line 53, in main
torch.distributed.init_process_group(backend='gloo', init_method='env://')
│ │ └ <function init_process_group at 0x00000253EC862DC8>
│ └ <module 'torch.distributed' from 'D:\Anaconda3\envs\DAMO-YOLO\lib\site-packages\torch\distributed\init.py'>
└ <module 'torch' from 'D:\Anaconda3\envs\DAMO-YOLO\lib\site-packages\torch\init.py'>
File "D:\Anaconda3\envs\DAMO-YOLO\lib\site-packages\torch\distributed\distributed_c10d.py", line 421, in init_process_group
init_method, rank, world_size, timeout=timeout
│ │ │ └ datetime.timedelta(seconds=1800)
│ │ └ -1
│ └ -1
└ 'env://'
File "D:\Anaconda3\envs\DAMO-YOLO\lib\site-packages\torch\distributed\rendezvous.py", line 82, in rendezvous
raise RuntimeError("No rendezvous handler for {}://".format(result.scheme))
│ └ <property object at 0x00000253E9FE0AE8>
└ ParseResult(scheme='env', netloc='', path='', params='', query='', fragment='')
RuntimeError: No rendezvous handler for env://
这是啥原因呀?
from damo-yolo.
你好,看到你的backend改成了gloo,是因为在windows平台训练吗?我们在linux平台上尝试单卡训练,没有碰到过这个错误。可以排查下是否平台原因。
from damo-yolo.
@jyqi 好的,谢谢你的建议
from damo-yolo.
Related Issues (20)
- error input_type HOT 2
- Error: DAMO-YOLO的MAE-NAS教程 link not found
- 使用modelscope调用模型的问题
- 701类别的模型如何使用
- 关于CWD_Loss的问题
- error when i training damo-yolo to ditect face HOT 1
- What tool was used to create the diagrams?
- Batch size不匹配的问题
- 如何测试模型在GPU上的latency?
- How to freeze backbone when finetune on custom dataset HOT 1
- [Bug]:
- 测评类别mAP
- 官方提供的人头检测模型结果偏差比较大
- Integrated DAMO-YOLO Algorithm into X-AnyLabeling for Enhanced Annotation
- KeyPoint estimation
- Image normalization strategy
- 运行出现bug 这么解决 HOT 1
- Tensorboard integration
- [Bug]: not found link for pretrained model damoyolo_tinynasL20_N.py (tinynas_L20_k1kx_nano.txt)
- Slow traning
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 damo-yolo.