Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save meisa233/3eac6652cfd073da31ea10b83bad94e2 to your computer and use it in GitHub Desktop.
Save meisa233/3eac6652cfd073da31ea10b83bad94e2 to your computer and use it in GitHub Desktop.
  1. install Anaconda
  2. conda env -name your_env_name python=3.11
  3. conda activate your_env_name
  4. install git bash from official
  5. install visual build tools
https://github.com/bycloudai/InstallVSBuildToolsWindows

6.install torch torchaudio torchvision

pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
  1. If "Failed to connect to github.com port 443"
git config --global --unset http.proxy
git config --global --unset https.proxy
git config --global http.proxy http://127.0.0.1:your_port
git config --global https.proxy http://127.0.0.1:your_port

8.install requirements and module

pip3 install torch torchvision torchaudio -r requirements.txt ./ 

9.run

python -m manga_translator -h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment