Inference with TorchInferencer - Creating empty directories when instantiating a new inferencer #948
Unanswered
tominator95
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
it's me again :-). When I instantiate a new
TorchInferencer
some (empty) directories are created and files are moved. I want to prevent this. I will explain it in more detail:My code:
Snippet of config.yaml (I removed some information):
My code is running in a Docker container. When I load the model with the given config, it will create the folder
/opt/tests/anomaly_detection/results/padim/padim_test/run
. Inside this directory I have the following structure:├── weights (empty directory)
├── images (empty directory)
├── config.yaml
├── config_original.yaml (copy of the yaml file I used for TorchInferencer)
Why are these folders created? How can I prevent this? I tried to set all paths in the config as None or let them empty but then I got errors. I would expect that I only need the config during inference for pre-processing, post-processing steps, thresholds etc.
Beta Was this translation helpful? Give feedback.
All reactions