@@ -24,54 +24,54 @@ for faster CPU inference. The classification results are added to the merged met
2424If you followed the steps in [ Local Setup] ( ../software/localsetup.md#python ) {target=_ blank},
2525you already have [ Python] ( https://www.python.org/ ) {target=_ blank} installed on your computer.
2626
27- ??? info "Optional : Set up an isolated Python environment"
27+ ???+ info "Recommended : Set up an isolated Python environment"
2828
29- You can [create a virtual environment](https://virtualenv.pypa.io/en/latest/user_guide.html){target=_blank}
30- before installing the required packages for YOLOv5 to avoid version and dependency
31- conflicts of the packages, especially if you are working on different Python projects.
29+ You can [create a virtual environment](https://virtualenv.pypa.io/en/latest/user_guide.html){target=_blank}
30+ before installing the required packages for YOLOv5 to avoid version and dependency
31+ conflicts of the packages, especially if you are working on different Python projects.
3232
33- - Install [`virtualenv`](https://virtualenv.pypa.io/en/latest/){target=_blank}:
33+ - Install [`virtualenv`](https://virtualenv.pypa.io/en/latest/){target=_blank}:
3434
35- ``` powershell
36- py -m pip install virtualenv
37- ```
35+ ``` powershell
36+ py -m pip install virtualenv
37+ ```
3838
39- - Navigate to the `YOLOv5-cls` folder:
39+ - Navigate to the `YOLOv5-cls` folder:
4040
41- ``` powershell
42- cd YOLOv5-cls
43- ```
41+ ``` powershell
42+ cd YOLOv5-cls
43+ ```
4444
45- - Create a new Python environment (folder in your current directory):
45+ - Create a new Python environment (folder in your current directory):
4646
47- ``` powershell
48- py -m virtualenv env_yolov5
49- ```
47+ ``` powershell
48+ py -m virtualenv env_yolov5
49+ ```
5050
51- - Activate the environment by running:
51+ - Activate the environment by running:
5252
53- ``` powershell
54- .\env_yolov5\Scripts\activate
55- ```
53+ ``` powershell
54+ .\env_yolov5\Scripts\activate
55+ ```
5656
57- If you cannot run the activate script because of your Execution Policy
58- settings, open a new PowerShell as administrator and run the following:
57+ If you cannot run the activate script because of your Execution Policy
58+ settings, open a new PowerShell as administrator and run the following:
5959
60- ``` powershell
61- Set-ExecutionPolicy RemoteSigned
62- ```
60+ ``` powershell
61+ Set-ExecutionPolicy RemoteSigned
62+ ```
6363
64- You can find more info [here](https://virtualenv.pypa.io/en/latest/user_guide.html#activators){target=_blank}
65- and [here](https://stackoverflow.com/questions/18713086/virtualenv-wont-activate-on-windows){target=_blank}.
64+ You can find more info [here](https://virtualenv.pypa.io/en/latest/user_guide.html#activators){target=_blank}
65+ and [here](https://stackoverflow.com/questions/18713086/virtualenv-wont-activate-on-windows){target=_blank}.
6666
67- - Now all packages will be installed only in the virtual environment,
68- which you have to activate everytime you want to run a script that
69- depends on these packages.
70- - You can deactivate the virtual environment by running:
67+ - Now all packages will be installed only in the virtual environment,
68+ which you have to activate everytime you want to run a script that
69+ depends on these packages.
70+ - You can deactivate the virtual environment by running:
7171
72- ``` powershell
73- deactivate
74- ```
72+ ``` powershell
73+ deactivate
74+ ```
7575
7676- Create the new folder ` C:\Users\<username>\YOLOv5-cls ` .
7777- [ Download] ( https://github.com/maxsitt/yolov5/archive/refs/heads/master.zip ) {target=_ blank}
0 commit comments