Skip to content

Commit

Permalink
updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescoSaverioZuppichini committed Nov 30, 2022
1 parent eb87d70 commit 4dc947a
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,30 +58,33 @@ The easiest and faster way to download `RF100` is using [docker](https://docs.do

If you have an NVIDIA GPU, be sure to also install [nvidia docker](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html)

First, build the container

```bash
docker build -t rf100-download -f Dockerfile.rf100.download .
```

Be sure to have the `ROBOFLOW_API_KEY` in your env, then run it

```bash
docker run --rm -it \
-e ROBOFLOW_API_KEY=$ROBOFLOW_API_KEY \
-v $(pwd)/rf100:/workspace/rf100 \
rf100-download
roboflow/rf100-download
```

`roboflow/rf100-download` is hosted on our [docker hub](https://hub.docker.com/repository/docker/roboflow/rf100-download)

Internally, `RF100` will downloaded to `/app/rf100`. You can also specify the format with the `-f` flag, by default `coco` is used.

```bash
docker run --rm -it \
-e ROBOFLOW_API_KEY=$ROBOFLOW_API_KEY \
-v ${PWD}/rf100:/workspace/rf100 \
rf100-download -f yolov5
roboflow/rf100-download
```

If you want to build the container and not use the image on the hub, run

```bash
docker build -t rf100-download -f Dockerfile.rf100.download .
```


### Local Env

To download `RF100` in your local enviroment (python `>=3.6`), you need to install roboflow
Expand Down

0 comments on commit 4dc947a

Please sign in to comment.