parent
567cb002f1
commit
0a22a16f23
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
@ -1,20 +0,0 @@
|
|||||||
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
|
|
Loading…
Reference in new issue