packyan / PyTorch-YOLOv3-kitti

use yolov3 pytorch to train kitti

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Train.py and kitti labels

SarahOye opened this issue · comments

Hi,

So I am using my own data from http://www.cvlibs.net/datasets/kitti/raw_data.php?type=residential
I am using the second to last data set 2011_10_03_drive_0027 (17.6 GB), I am able to run all necessary code until I get to the train.py file I keep getting the same error of

train.py", line 247
for i in tqdm.tqdm(range(len(all_annotations)), desc=f"Computing AP for class '{label}'"):
^
SyntaxError: invalid syntax

and if not that other ones that I will post once I get them again, also my visdom screen stays blue the whole time, and I'm not sure how to fix that issue. I've looked on StackOverflow and GitHub nothing resolves the issue.
I also do not know how to obtain labels for the dataset I am using can anyone help, please.

Check if your python, torch versions match up.