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

Add filename metadata to multidimdataloader #441

Merged

Conversation

ritvikvasan
Copy link
Member

@ritvikvasan ritvikvasan commented Oct 18, 2024

What does this PR do?

Adds filename_or_obj metadata when creating the data loader. This is necessary to generate io maps for MultiTaskIm2Im.
Testing:

Successfully ran python cyto_dl.eval.py experiment=local-eval_scale1_new with save_dir changed to my local directory. Saved a prediction for each timepoint

@ritvikvasan ritvikvasan changed the base branch from main to emt-all-cells-mask-zarr October 18, 2024 17:00
Copy link

@smishra3 smishra3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Going ahead with this temporary fix to remove blocking

@@ -28,17 +28,17 @@ trainer:

model:
compile: True
#save_dir: /allen/aics/assay-dev/users/Suraj/EMT_Work/image_analysis_test/EMT_image_analysis/Colony_mask_training_inference/eval_whole_movie_multiscale_patch1_zarr_aws
save_dir: /allen/aics/assay-dev/users/Suraj/EMT_Work/image_analysis_test/EMT_image_analysis/Colony_mask_training_inference/eval_whole_movie_multiscale_patch1_zarr_aws
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If any configs use an /allen path, then the instructions need to tell people to edit it. Instead, I recommend using relative paths (starting with ./) for portability. I've filed an issue to track this going forward.

@smishra3 smishra3 merged commit 7e67f53 into emt-all-cells-mask-zarr Oct 21, 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

Successfully merging this pull request may close these issues.

3 participants