voldemortX / pytorch-auto-drive

PytorchAutoDrive: Segmentation models (ERFNet, ENet, DeepLab, FCN...) and Lane detection models (SCNN, RESA, LSTR, LaneATT, BézierLaneNet...) based on PyTorch with fast training, visualization, benchmarking & deployment help
BSD 3-Clause "New" or "Revised" License
840 stars 138 forks source link

当我在运行main_landet.py文件时,出现了以下的报错 #162

Closed ZzhhzZ12345679 closed 11 months ago

ZzhhzZ12345679 commented 11 months ago

您好,当我在运行main_landet.py文件时,出现了以下的报错: D:\pythonProject\pytorch-auto-drive-master\pytorch-auto-drive-master\utils\models\lane_detection\laneatt.py:22: UserWarning: Can't complie line nms op for LaneATT. Set verbose=True for load in /utils/csrc/apis.py L9 for details. D:/pythonProject/pytorch-auto-drive-master/pytorch-auto-drive-master/main_landet.py:29: UserWarning: Are you using Windows? Linux is recommended. usage: main_landet.py [-h] [--exp-name EXP_NAME] [--device DEVICE] [--workers WORKERS] [--batch-size BATCH_SIZE] [--save-dir SAVE_DIR] [--val-num-steps VAL_NUM_STEPS] [--world-size WORLD_SIZE] [--dist-url DIST_URL] [--thresh THRESH] [--lr LR] [--weight-decay WEIGHT_DECAY] [--warmup-steps WARMUP_STEPS] [--epochs EPOCHS] --config CONFIG (--train | --test | --val | --fastval | --state STATE) [--continue-from CONTINUE_FROM | --checkpoint CHECKPOINT] [--mixed-precision] [--cfg-options CFG_OPTIONS] main_landet.py: error: the following arguments are required: --config 请问如何解决这个报错,期待您的回复