Skip to content

Commit

Permalink
Update windows.md
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlGao4 authored Jan 23, 2022
1 parent 49685b9 commit 1f4ac8b
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion docs/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@ If you are using Windows, replace `python3` by `python.exe` in all the commands

Parts of the code are untested on Windows (in particular, training a new model). If you don't have much experience with Anaconda, python or the shell, here are more detailed instructions. Note that **Demucs is not supported on 32bits systems** (as Pytorch is not available there).

## Installation and Usage

- First install Anaconda with **Python 3.7** or more recent, which you can find [here][install].
- Start the [Anaconda prompt][prompt].
- Since demucs has been updated into PyPi, now users can simply run `python.exe -m pip install demucs PySoundFile` to install demucs and
- If you have graphic cards produced by nVidia with more than 6GiB of memory, you can separate tracks with GPU acceleration. To achieve this, you must reinstall Pytorch with CUDA. Run `python.exe -m pip uninstall torch torchaudio`, visit [Pytorch Home Page](https://pytorch.org/get-started/locally/) and follow the guide on it.
- Run `demucs -d cpu "PATH_TO_AUDIO_FILE_1" ["PATH_TO_AUDIO_FILE_2" ...]`

---

Contents below are out of date.

---

- First install Anaconda with **Python 3.7** or more recent, which you can find [here][install].
- Start the [Anaconda prompt][prompt].
- Type in the following commands:
Expand Down Expand Up @@ -42,6 +56,5 @@ If you have an error saying that `mkl_intel_thread.dll` cannot be found, you can
`conda install -c defaults intel-openmp -f`. Then try again to run the `demucs.separate` command. If it still doesn't work, you can try to run first `set CONDA_DLL_SEARCH_MODIFICATION_ENABLE=1`, then again the `demucs.separate` command and hopefully it will work 🙏.
If you get a permission error, please try starting the Anaconda Prompt as administrator.


[install]: https://www.anaconda.com/distribution/#windows
[prompt]: https://docs.anaconda.com/anaconda/user-guide/getting-started/#open-prompt-win

0 comments on commit 1f4ac8b

Please sign in to comment.