Replies: 1 comment 2 replies
-
I'm not sure what exactly you want to achieve. If you want to change the location of data, you'll need to use class_path: anomalib.data.MVTec
init_args:
root: ../datasets/MVTec If you want to change the trainer:
default_root_dir: <insert dirname> (don't nest it inside |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys, how can I change the root directory in YAML file.
I try to:
datamodule.trainer.default_root_dir = THE DIRECTORY I WANT
but I got this
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ in <module>:1 │ │ │ │ ❱ 1 datamodule.trainer.default_root_dir │ │ 2 │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ AttributeError: 'NoneType' object has no attribute 'default_root_dir'
Beta Was this translation helpful? Give feedback.
All reactions