Open albert-mg opened 1 month ago
do you want to run this on CPU?
How are you running the code? In a Jupyter Notebook, in a Python script? Whats the actual code you are running? On which machine?
Did you try to do what the error exception told you to do, that is running your code inside a if __name__ == '__main__':
loop ?
Did you try to set the number of dataloader workers to 0 in your config file?
Describe the bug
Dataset
MVTec
Model
PatchCore
Steps to reproduce the behavior
OS information
OS information:
Expected behavior
follow the Installation and Training,but some runtime bug appear
Screenshots
No response
Pip/GitHub
pip
What version/branch did you use?
main
Configuration YAML
Logs
Code of Conduct