We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i run the training example as it is and i get this error Note that --use-env is set by default in torchrun. If your script expects --local-rank argument to be set, please change it to read from os.environ['LOCAL_RANK'] instead. usage: ssda_yolov5_train.py [-h] [--weights WEIGHTS] [--cfg CFG] [--data DATA] [--hyp HYP] [--epochs EPOCHS] [--batch-size BATCH_SIZE] [--img-size IMG_SIZE [IMG_SIZE ...]] [--rect] [--resume [RESUME]] [--nosave] [--notest] [--noautoanchor] [--evolve] [--bucket BUCKET] [--cache-images] [--image-weights] [--device DEVICE] [--multi-scale] [--single-cls] [--adam] [--sync-bn] [--workers WORKERS] [--project PROJECT] [--entity ENTITY] [--name NAME] [--exist-ok] [--quad] [--linear-lr] [--label-smoothing LABEL_SMOOTHING] [--upload_dataset] [--bbox_interval BBOX_INTERVAL] [--save_period SAVE_PERIOD] [--artifact_alias ARTIFACT_ALIAS] [--local_rank LOCAL_RANK] [--teacher_alpha TEACHER_ALPHA] [--conf_thres CONF_THRES] [--iou_thres IOU_THRES] [--max_gt_boxes MAX_GT_BOXES] [--lambda_weight LAMBDA_WEIGHT] [--consistency_loss] [--alpha_weight ALPHA_WEIGHT] [--student_weight STUDENT_WEIGHT] [--teacher_weight TEACHER_WEIGHT] [--save_dir SAVE_DIR] ssda_yolov5_train.py: error: unrecognized arguments: --local-rank=0
--local-rank
os.environ['LOCAL_RANK']
The text was updated successfully, but these errors were encountered:
No branches or pull requests
i run the training example as it is and i get this error
Note that --use-env is set by default in torchrun.
If your script expects
--local-rank
argument to be set, pleasechange it to read from
os.environ['LOCAL_RANK']
instead.usage: ssda_yolov5_train.py [-h] [--weights WEIGHTS] [--cfg CFG] [--data DATA] [--hyp HYP]
[--epochs EPOCHS] [--batch-size BATCH_SIZE]
[--img-size IMG_SIZE [IMG_SIZE ...]] [--rect] [--resume [RESUME]]
[--nosave] [--notest] [--noautoanchor] [--evolve] [--bucket BUCKET]
[--cache-images] [--image-weights] [--device DEVICE] [--multi-scale]
[--single-cls] [--adam] [--sync-bn] [--workers WORKERS]
[--project PROJECT] [--entity ENTITY] [--name NAME] [--exist-ok]
[--quad] [--linear-lr] [--label-smoothing LABEL_SMOOTHING]
[--upload_dataset] [--bbox_interval BBOX_INTERVAL]
[--save_period SAVE_PERIOD] [--artifact_alias ARTIFACT_ALIAS]
[--local_rank LOCAL_RANK] [--teacher_alpha TEACHER_ALPHA]
[--conf_thres CONF_THRES] [--iou_thres IOU_THRES]
[--max_gt_boxes MAX_GT_BOXES] [--lambda_weight LAMBDA_WEIGHT]
[--consistency_loss] [--alpha_weight ALPHA_WEIGHT]
[--student_weight STUDENT_WEIGHT] [--teacher_weight TEACHER_WEIGHT]
[--save_dir SAVE_DIR]
ssda_yolov5_train.py: error: unrecognized arguments: --local-rank=0
The text was updated successfully, but these errors were encountered: