Skip to content

Commit

Permalink
correct a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
iamstarlee committed Jun 24, 2024
1 parent 6d853d7 commit 5bd87de
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions demo/OpenVINO/cpp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Please visit [Openvino Homepage](https://docs.openvinotoolkit.org/latest/get_sta
**Option1. Set up the environment tempororally. You need to run this command everytime you start a new shell window.**

```shell
source /opt/intel/openvino_2021/bin/setupvars.sh
source /opt/intel/openvino_2022/setupvars.sh
```

**Option2. Set up the environment permenantly.**
Expand All @@ -38,7 +38,7 @@ vim ~/.bashrc
*Step2.* Add the following line into your file:

```shell
source /opt/intel/openvino_2021/bin/setupvars.sh
source /opt/intel/openvino_2022/setupvars.sh
```

*Step3.* Save and exit the file, then run:
Expand Down
3 changes: 3 additions & 0 deletions tools/demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@

import torch

import sys
sys.path.append('/home/whoami/Documents/Hanvon/YOLOX')

from yolox.data.data_augment import ValTransform
from yolox.data.datasets import COCO_CLASSES
from yolox.exp import get_exp
Expand Down
2 changes: 1 addition & 1 deletion yolox/exp/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def get_exp(exp_file=None, exp_name=None):
Args:
exp_file (str): file path of experiment.
exp_name (str): name of experiment. "yolo-s",
exp_name (str): name of experiment. "yolox-s",
"""
assert (
exp_file is not None or exp_name is not None
Expand Down

0 comments on commit 5bd87de

Please sign in to comment.