Replies: 7 comments 1 reply
-
Can you show the output of Arguments ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Usage: anomalib [-h] [-c CONFIG] [--print_config [=flags]] {install,fit,validate,test,train,predict,export} ... │
│ │
│ │
│ Options: │
│ -h, --help Show this help message and exit. │
│ -c, --config CONFIG Path to a configuration file in json or yaml format. │
│ --print_config [=flags] │
│ Print the configuration after applying all other arguments and exit. The optional flags customizes the output and are one │
│ or more keywords separated by comma. The supported flags are: comments, skip_default, skip_null. │
│ │
│ Subcommands: │
│ For more details of each subcommand, add it as an argument followed by --help. │
│ │
│ │
│ Available subcommands: │
│ install Install the full-package for anomalib. │
│ fit Runs the full optimization routine. │
│ validate Perform one evaluation epoch over the validation set. │
│ test Perform one evaluation epoch over the test set. It's separated from fit to make sure you never run on your │
│ train Fit the model and then call test on the trained model. │
│ predict Run inference on a model. │
│ export Export the model to ONNX or OpenVINO format. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ |
Beta Was this translation helpful? Give feedback.
-
I encountered the same phenomenon with 1.0.1. "pip install -e ." fixed it in my env. I installed from pip not from source. |
Beta Was this translation helpful? Give feedback.
-
Just a note that |
Beta Was this translation helpful? Give feedback.
-
@samet-akcay Does torch version have to be 2.0.0<torch<2.2.0? My device does not support cuda greater than 11.0 at the moment |
Beta Was this translation helpful? Give feedback.
-
We haven't tested it. Can you install your torch version after installing anomalib and try to train a model? This way you could check if it works or not? |
Beta Was this translation helpful? Give feedback.
-
OK, I'll try |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Dataset
Folder
Model
PatchCore
Steps to reproduce the behavior
anomalib train --config /opt/workspace/luoyq/anomalib/src/configs/model/patchcore.yaml
OS information
OS information:
Expected behavior
Screenshots
No response
Pip/GitHub
pip
What version/branch did you use?
No response
Configuration YAML
patchcore.yaml
Logs
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions