idTracker / idTracker

Videotracking system that keeps track of individual identities. www.idtracker.es
35 stars 16 forks source link

idTracker-beta does not delete the pool of workers when it finish #15

Open pacorofe opened 7 years ago

pacorofe commented 7 years ago

When running idTracker in batch, it is needed to open and close idTracker (using S&E) for each of the videos that has to be tracked. However when opening the second session of idTracker and error occurs with the following message:

Found an interactive session. You cannot have multiple interactive sessions open simultaneously. To terminate the existing session, use 'delete(gcp('nocreate'))'.

This can be solved by running:

idTracker; delete(gcp('nocreate'))

The error also occurs when running the code idTracker_batch and it can be solved by changing the line.

idTracker(datosegm)

by the following line:

idTracker(datosegm); delete(gcp('nocreate'))

The best it would be that delete(gcp('nocreate')) would be introduced in the core code of idTracker.

Hope it helps.

ahof1704 commented 7 years ago

Cool!

I will make the suggested modifications. Thanks!