Skip to content

ouhaohan8023/AICV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

使用

  1. pip install -r requirements.txt
  2. 将 .env.example 复制成 .env
  3. 配置.env
  4. python main.py {filename 文件名}

手动调试

  1. 使用pycharm配置conda环境,python3.7
  2. pip3 install torch torchvision torchaudio -i https://pypi.tuna.tsinghua.edu.cn/simple
  3. pip install modelscope -i https://pypi.tuna.tsinghua.edu.cn/simple
  4. pip3 install transformers -i https://pypi.tuna.tsinghua.edu.cn/simple
  5. pip3 install opencv_python -i https://pypi.tuna.tsinghua.edu.cn/simple
  6. pip install --upgrade tensorflow==1.15 -i https://pypi.tuna.tsinghua.edu.cn/simple (分GPU tensorflow-gpu/CPU tensorflow)
  7. pip install protobuf==3.20 -i https://pypi.tuna.tsinghua.edu.cn/simple
  8. pip install python-dotenv -i https://pypi.tuna.tsinghua.edu.cn/simple
  9. pip install timm -i https://pypi.tuna.tsinghua.edu.cn/simple
  10. pip install kantts -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html -i https://pypi.tuna.tsinghua.edu.cn/simple
  11. pip install matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple
  12. pip install librosa -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html -i https://pypi.tuna.tsinghua.edu.cn/simple

直接安装

pip install "modelscope[audio]" -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html -i https://pypi.tuna.tsinghua.edu.cn/simple

效果

example

About

使用阿里魔搭进行老照片修复

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages