-
Notifications
You must be signed in to change notification settings - Fork 691
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
[Task]: Dataset Robustness on .ipynb_checkpoints
issue
#1256
Comments
And as a solution from my side. I can delete certain folders before running the script. |
@Starlento, thanks for reporting this. In order for us to reproduce this, can you provide more specific details such as which dataset you used, what is your data configuration, model etc. |
If you could use the bug template, it would be easier for us to reproduce. Thanks! |
Sorry for the late reply. I think this is not a bug actually. And for reproducing the issue, I just follow https://openvinotoolkit.github.io/anomalib/how_to_guides/train_custom_data.html. And change it to segmentation, mask dir to |
What is the motivation for this task?
I got
ValueError: NumPy boolean array indexing assignment cannot assign 18 input values to the 17 output values where the mask is true
and I found out it is because there is.ipynb_checkpoints
in the mask dir. And if the dataset could deal with certain situation or even more complex folder structure, that would be great.Describe the solution you'd like
I think there were some issues related to this. I am just wondering whether there is an elegant solution to ignore every folder starts with
.
. Because I found the code for "listdir the folder" is not a single entrance, as you have multiplemake_xxx_dataset()
.And actually for the dataset, I do not see the need to take folders into account, is there certain usage?
Could you share some insights on this?
Additional context
No response
The text was updated successfully, but these errors were encountered: