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

On-the-fly conversion of instances to semantic masks/affinities #103

Open
Mohinta2892 opened this issue Dec 7, 2024 · 1 comment
Open
Assignees
Labels
enhancement New feature or request

Comments

@Mohinta2892
Copy link

Hi Dani,

For an extremely large dataset, the converting all instance labels to masks can be tedious and lead to data redundancy.

It would be easier with a method (as an augmentation) in the pipeline, which when called can generate masks when reading in labels from the input dataset on the fly during training.

If it can be implemented, that would be amazing. Thanks!

Best,
Samia

@danifranco
Copy link
Collaborator

Hi Samia,

There is always and advantage and disavantage on the choosen method. Is true that you need disk when the masks are created, but the advantage is that you don't waste time in creating the masks on the fly, which for long training settings it reduces significatively the training time. Depending on the complexity of the masks to be created the procedure is not simple and may take too much time to generate them on the fly.

I mean, I see your point but there is always pros and cros in all settings... We can definitely do it, so we can leave this issue in case any of us can take a look to it. Also, feel free to make a PR if you want!

@danifranco danifranco added the enhancement New feature or request label Dec 11, 2024
@danifranco danifranco self-assigned this Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants