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

Don't find the path #4

Open
kinghge opened this issue Jun 19, 2024 · 0 comments
Open

Don't find the path #4

kinghge opened this issue Jun 19, 2024 · 0 comments

Comments

@kinghge
Copy link

kinghge commented Jun 19, 2024

hello ,thanks author share the open-iad ,but I have some problems .
I don't find the path in which file ::: '/home/robot/data/mvtec2d/bottle/train'
this is some errors:
Traceback (most recent call last):
File "/home/kinghge/Desktop/open-iad-main/open-iad-main/main.py", line 26, in
main(args)
File "/home/kinghge/Desktop/open-iad-main/open-iad-main/main.py", line 11, in main
work.run_work_flow()
File "/home/kinghge/Desktop/open-iad-main/open-iad-main/paradigms/centralized/c2d.py", line 142, in run_work_flow
self.load_data()
File "/home/kinghge/Desktop/open-iad-main/open-iad-main/paradigms/centralized/c2d.py", line 66, in load_data
dataloader = DataHolder(dataset_class, self.para_dict)
File "/home/kinghge/Desktop/open-iad-main/open-iad-main/data_io/data_holder.py", line 17, in init
self.train_dataset = dataset_class(data_path=self.config['data_path'],
File "/home/kinghge/Desktop/open-iad-main/open-iad-main/dataset/mvtec2d.py", line 42, in init
self.load_dataset()
File "/home/kinghge/Desktop/open-iad-main/open-iad-main/dataset/mvtec2d.py", line 83, in load_dataset
img_types = sorted(os.listdir(img_dir))
FileNotFoundError: [Errno 2] No such file or directory: '/home/robot/data/mvtec2d/bottle/train'

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

No branches or pull requests

1 participant