当前位置:网站首页>pytorch Default process group is not initialized
pytorch Default process group is not initialized
2022-06-27 06:48:00 【AI vision netqi】
Report errors :Default process group is not initialized
Error code ,yolov5 No error during training , Wrong parameter configuration ,
with torch_distributed_zero_first(rank):
dataset = LoadImagesAndLabels(path, imgsz, batch_size, augment=augment, # augment images
hyp=hyp, # augmentation hyperparameters
rect=rect, # rectangular training
cache_images=cache, single_cls=opt.single_cls, stride=int(stride), pad=pad, image_weights=image_weights, prefix=prefix,data_type=data_type)
@contextmanager
def torch_distributed_zero_first(local_rank: int):
"""
Decorator to make all processes in distributed training wait for each local_master to do something.
"""
if local_rank not in [-1, 0]:
torch.distributed.barrier()
yield
if local_rank == 0:
边栏推荐
- SQL 注入绕过(一)
- TiDB 中的数据库模式概述
- 427- binary tree (617. merge binary tree, 700. search in binary search tree, 98. verify binary search tree, 530. minimum absolute difference of binary search tree)
- Dev++ environment setting C language keyword display color
- Easyexcel: read Excel data into the list set
- 【LeetCode】Day90-二叉搜索树中第K小的元素
- Once spark reported an error: failed to allocate a page (67108864 bytes), try again
- Gaussian distribution, linear regression, logistic regression
- NoViableAltException([email protected][2389:1: columnNameTypeOrConstraint : ( ( tableConstraint ) | ( columnNameT
- multiprocessing. Detailed explanation of pool
猜你喜欢

Matlab GUI interface simulation DC motor and AC motor speed simulation

LeetCode 0086. Separate linked list

JVM overall structure analysis

高斯分布Gaussian distribution、線性回歸、邏輯回歸logistics regression

JVM common instructions

Centos7.9安装mysql 5.7,并设置开机启动

Proxy reflect usage details

面试官:请你介绍一下缓存穿透、缓存空值、缓存雪崩、缓存击穿的,通俗易懂

观测电机转速转矩

Machine learning
随机推荐
Idea one click log generation
面试官:大量请求 Redis 不存在的数据,从而打倒数据库,你有什么方案?
SQL injection bypass (I)
获取地址url中的query参数指定参数方法
The risk of multithreading -- thread safety
TiDB 基本功能
Instance tunnel use
Easyexcel: read Excel data into the list set
C Primer Plus Chapter 11_ Strings and string functions_ Codes and exercises
2018年数学建模竞赛-高温作业专用服装设计
2022 le fichier CISP - Pte (i) contient:
面试官:用分库分表如何做到永不迁移数据和避免热点问题?
multiprocessing. Detailed explanation of pool
JVM overall structure analysis
[QT] use structure data to generate read / write configuration file code
JVM common instructions
matlab GUI界面仿真直流电机和交流电机转速仿真
Scala函数柯里化(Currying)
winow10安装Nexus nexus-3.20.1-01
从5秒优化到1秒,系统飞起来了...