Skip to content

Commit

Permalink
Removed documentation of the shell scripts since they are deprecated.
Browse files Browse the repository at this point in the history
  • Loading branch information
someone committed Jul 29, 2022
1 parent 6805c8b commit 6fb1f7f
Showing 1 changed file with 1 addition and 30 deletions.
31 changes: 1 addition & 30 deletions tools/benchmarking/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,36 +8,7 @@ models in the repository.

## Usage

Run the train.sh with the same args as the tools/train.py. Refer to
[`../README.md`](https://github.com/openvinotoolkit/anomalib/blob/development/README.md)
for those details.

Note: To collect memory read/write numbers, run the script with sudo privileges.
Otherwise, those values will be blank.

```bash
sudo -E ./train.sh # Train STFPM on MVTec AD leather

sudo -E ./train.sh --config <path/to/model/config.yaml>

sudo -E ./train.sh --model stfpm
```

The training script will create an output directory in this location, and
inside it will have a time stamped directory for each training run you do. You
can find the raw logs in there, as well as any errors captured in the train.log
file.

For post processing, run the post-process.sh script with the results directory
you want to post process.

```bash
./post-process.sh ./output/2021Aug31_2351
```

---

To use the python script, run it from the root directory.
To use the python benchmarking script, run it from the root directory.

```python
python tools/benchmarking/benchmark.py
Expand Down

0 comments on commit 6fb1f7f

Please sign in to comment.