PyTorch-YOLOv3 icon indicating copy to clipboard operation
PyTorch-YOLOv3 copied to clipboard

Getting error of invalid syntax while running the training

Open spaul13 opened this issue 5 years ago • 4 comments

While training yolov3 model for my custom dataset through running

python train.py --pretrained_weights weights/darknet53.conv.74

I am getting the following error. can anyone plz tell me why I am getting this error and how to resolve it? metric_table = [["Metrics", *[f"YOLO Layer {i}" for i in range(len(model.yolo_layers))]]] ^ SyntaxError: invalid syntax

I am running the training windows under a conda environment with GPU support.

spaul13 avatar Oct 29 '19 14:10 spaul13

How do you solve this error?

q1367880593 avatar Nov 27 '19 10:11 q1367880593

How do you solve this problem?

Luchixiang avatar Nov 29 '19 07:11 Luchixiang

Has anyone solve this problem?

Damon2019 avatar Dec 06 '19 13:12 Damon2019

use python3.7 +

MiXaiLL76 avatar Dec 10 '19 11:12 MiXaiLL76