abhineet123 / ipsc_prediction

IPSC Prediction with Deep Learning
1 stars 0 forks source link

About server.py error #5

Closed SZ-qing closed 1 year ago

SZ-qing commented 1 year ago

Hello, when i use the function Track All object in labellmage tool, error is image

image

I also open the terminal with the command line: python tracking/Server.py --cfg=tracking/cfg/params.cfg --patch_tracker.tracker_type=3 image

abhineet123 commented 1 year ago

Please uncomment line 224 in labelImg.py: self.start_server_thread() (or pull the updated code from the repo).

Sorry, I apparently commented it out for debugging and forgot to uncomment.

Also, you don't need to start the tracking server to track objects if tracking_mode parameter (line 3768 in labelImg.py) is set to 2.

SZ-qing commented 1 year ago

Thanks! By the way, line 3701 in labelImg.py label, points, _, _, difficult, bbox_source, id_number, score, _, _ = shape , shape has 12 elements but just passed to 10 variables, I added two extra variables and the save csv function works fine. Please help to confirm.

abhineet123 commented 1 year ago

Yes, you're right. PascalVocReader shapes have two extra entries if it is initialized with enable_hierarchy turned on.

I've fixed this bug in the latest commit.

Thanks for pointing it out !