Closed papago2355 closed 1 year ago
Edit : it seems like, it is not working due to 'image_size' option in utils 'read_image'
This option is for prototyping new ideas. Your image size is already in your meta_data during the inference, so you don't need to resize it.
If removing image_size
solves your problem, I will close this issue. Feel free to re-open if you are still having problems. Thanks!
Hi, I am facing the same issue. I couldn't understand from where did you delete the image_size. Can you please provide some more detail?
Hi, I am facing the same issue. I couldn't understand from where did you delete the image_size. Can you please provide some more detail?
Anomalib updated to the new version. 'read_image' now does not have image_size parameter.
Describe the bug
Hi. I am currently using custom dataset with fastflow+classification. I tried to predict 'pred_label' but it only returns 'True' even if I predict normal images.
Dataset
Other (please specify in the text field below)
Model
FastFlow
Steps to reproduce the behavior
Only change config file. And use google colab notebook based tutorial codes.
https://colab.research.google.com/drive/17Cwhg2H8JMBYhLBJvK01ZXKCP-XsIrM4?usp=sharing
Here is the link
Edit : it seems like, it is not working due to 'image_size' option in utils 'read_image'
I deleted that attribute and it somehow, returns correctly.
OS information
OS information:
Expected behavior
Expected to return 'False' if I predict normal images.
Screenshots
No response
Pip/GitHub
pip
What version/branch did you use?
No response
Configuration YAML
Logs