Skip to content

Commit 84318af

Browse files
authored
run in current directory
1 parent 254860d commit 84318af

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

README.md

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,9 @@ docker build -t bencevans/megadetector .
1616

1717
## Batch Detection
1818

19-
Change `/path/to/dataset/on/host` to the location of your dataset on the host machine.
20-
2119
```bash
22-
nvidia-docker run \
23-
--rm \
24-
-it \
25-
-v "/path/to/dataset/on/host":/dataset \
26-
bencevans/megadetector \
27-
python detection/run_tf_detector_batch.py \
28-
--recursive \
29-
--output_relative_filenames \
30-
--checkpoint_frequency 10000 \
31-
/workspace/blobs/4.1.0.pb \
32-
/dataset/ \
33-
/dataset/md.4.1.0.json
20+
nvidia-docker run --rm -it -v "$(pwd)":/dataset bencevans/megadetector \
21+
python detection/run_tf_detector_batch.py \
22+
--recursive --output_relative_filenames --checkpoint_frequency 10000 \
23+
/workspace/blobs/4.1.0.pb /dataset/ /dataset/md.4.1.0.json
3424
```

0 commit comments

Comments
 (0)