Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track script only works for slp files #18

Closed
sheridana opened this issue Jul 28, 2023 · 2 comments
Closed

Track script only works for slp files #18

sheridana opened this issue Jul 28, 2023 · 2 comments
Assignees

Comments

@sheridana
Copy link

The track script currently only works for slp files:

num_videos = len(dataloader.dataset.slp_files)
outpath = os.path.join(
            outdir,
            f"{Path(pred_cfg.cfg.dataset.test_dataset.slp_files[i]).stem}_tracking_results",
)

I would add a check for video type and add logic to handle non slp_files (e.g for microscopy data).

@aaprasad
Copy link
Contributor

yes, the inference script will need to be refactored. There are a lot of changes that have been made since we first wrote it and there are probably better ways to handle it.

@aaprasad aaprasad self-assigned this May 21, 2024
@aaprasad
Copy link
Contributor

aaprasad commented Jun 3, 2024

Fixed in #51

@aaprasad aaprasad closed this as completed Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants