You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
603 B
21 lines
603 B
1.创建虚拟环境并安装相关依赖
|
|
#创建虚拟环境
|
|
conda create -n pytorch_1.8 python=3.8
|
|
#进入虚拟环境
|
|
conda activate pytorch_1.8
|
|
|
|
# 安装项目依赖包
|
|
python -m pip install opencv-python -i https://pypi.tuna.tsinghua.edu.cn/simple/
|
|
python -m pip install matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple/
|
|
pip install gradio==3.47.1
|
|
(缺少哪个包就类似方法安装哪个包即可)
|
|
|
|
2.运行项目脚本
|
|
# 2.1进入到项目虚拟环境
|
|
conda activate pytorch_1.8
|
|
# 2.2 cd 到项目根目录
|
|
D:
|
|
cd Imag_Enhanc_License_recog-main/
|
|
# 2.3 运行项目
|
|
python demo_ui_main.py
|