KevinQian97 / ELECTRICITY-MTMC

ELECTRICITY: An Efficient Multi-camera Vehicle Tracking System for Intelligent City(CVPR 2020 AI City Challenge Track 3)
Other
113 stars 18 forks source link

while running test.sh, syntax error on '*' usage #8

Closed yifenghuang closed 4 years ago

yifenghuang commented 4 years ago

Hi I try to test the code and meet some problems.

while I running test.sh, it's say"packed_tensor = torch.zeros((rounded_size, *tensor.shape[1:]), dtype=tensor.dtype, device=tensor.device)" in ./util/tensor.py has a syntax error (line 7).

env:python2.7+torch1.5

I also tested it under python3.7 enviroment and it's can't import module "detectron2"

thank you.

quanghuy0497 commented 3 years ago

@yifenghuang Hi, how did you resolve this problem?