Loading a config from .yaml file locally #5139
Unanswered
InexperiencedMe
asked this question in
Q&A
Replies: 1 comment
-
You have tried
? I do not know if that answers anything, but else I am doing something similar using SAHI:
Maybe it also how you are saving your config file. I also had trouble with
Then
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to load a config file, that has been saved right after training because I have separate scripts for training and inference. I saved the config file according to a tutorial with following lines:
However, in the tutorial the data was never loaded back. All other tutorials on the internet use a python cloud notebook, so it's all done in one instance and they never need to save or load config for inference, since its instantiated and modified by the training accordingly.
I have tried almost all possible combinations with cfg.merge_from_file(), load_yaml_with_base(), CfgNode casting, opening a file and all that. Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions