-
Notifications
You must be signed in to change notification settings - Fork 1
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
where is .yaml file? #1
Comments
Hello, thanks for your attentions. The previous version needs to replace the datapath in the "configs/MVTec_AD.yaml" file and then run the command: python run.py --mode test --ttype ALL --dataset MVTec_AD, which is so inconvenient for evaluation. Thus, we optimize the implementation and add an argument "--datapath" in "run.py". Please update the code and see the scripts in "run.sh" file in details. |
thank u for your patience! but I get one new error: |
I have never seen this bug before. The code in my machine works well. I guess the problem may be caused by the invalid/unexpected dimension of input features, i.e., q and t. You can print their shape to locate the reason. |
I cannot find the yaml when I run the gen the template:
python run.py --mode test --ttype ALL --dataset /mnt/sunxiaogang/RealNet/data/MVTec-AD/mvtec
/mnt/sunxiaogang/miniconda3/envs/hetmm/lib/python3.9/site-packages/torch/utils/cpp_extension.py:1964: UserWarning: TORCH_CUDA_ARCH_LIST is not set, all archs for visible cards are included for compilation.
If this is not desired, please set os.environ['TORCH_CUDA_ARCH_LIST'].
warnings.warn(
Traceback (most recent call last):
File "/mnt/sunxiaogang/HETMM/run.py", line 80, in
cfg = Cfg(args)
File "/mnt/sunxiaogang/HETMM/src/config.py", line 19, in init
with open(os.path.join('configs', f'{args.dataset}.yaml'), 'r') as dfile:
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/sunxiaogang/RealNet/data/MVTec-AD/mvtec.yaml'
The text was updated successfully, but these errors were encountered: