WWangYuHsiang / SMILEtrack

185 stars 23 forks source link

make fast_reid cpu compatible #8

Open luciaschmid opened 1 year ago

luciaschmid commented 1 year ago

If setting flag --with-reid and flag --device cpu when running tools/track.py, currently it does not work. These small changes in FastReidInterface would make it work. Of course it is rare to use cpu with SMILEtrack, but it was easier for me for small debugging tasks to not use a gpu and these changes made that possible.