Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how specify the anaconda venv when executing "svc train" ? #48

Closed
smallhaes opened this issue Mar 20, 2023 · 7 comments
Closed

how specify the anaconda venv when executing "svc train" ? #48

smallhaes opened this issue Mar 20, 2023 · 7 comments
Labels
documentation Improvements or additions to documentation

Comments

@smallhaes
Copy link

I confiure a anaconda venv for this project, but it seems that this program do not execute "svc train" with the venv i configured. Could I specify the anaconda venv ?

@smallhaes smallhaes added the enhancement New feature or request label Mar 20, 2023
@34j
Copy link
Collaborator

34j commented Mar 20, 2023

I don't know because I have never used anaconda. I need help from others ......

@34j
Copy link
Collaborator

34j commented Mar 20, 2023

I am not sure, but did you activate venv? (not sure how familiar you are with anaconda)

@smallhaes
Copy link
Author

yes, I activate it. I'll try later. I would reply here if i figure it out.

@BlueAmulet
Copy link
Collaborator

If you're using anaconda, it has it's own virtual environment system separate from virtualenv/venv:

To set up the environment:
Create a new environment for so-vits-svc-fork, also adding in pip

conda create -n so-vits-svc-fork pip

Activate the environment

conda activate so-vits-svc-fork

Install pytorch and so-vits-svc-fork

pip install -U torch torchaudio --index-url https://download.pytorch.org/whl/cu117
pip install so-vits-svc-fork

To use the environment and svc:
Activate the environment:

conda activate so-vits-svc-fork

svc and svcg commands should now be available and use the conda environment that was created.

@34j 34j added documentation Improvements or additions to documentation and removed enhancement New feature or request labels Mar 22, 2023
@34j
Copy link
Collaborator

34j commented Mar 22, 2023

@allcontributors add BlueAmulet question

@allcontributors
Copy link
Contributor

@34j

I've put up a pull request to add @BlueAmulet! 🎉

@smallhaes
Copy link
Author

If you're using anaconda, it has it's own virtual environment system separate from virtualenv/venv:

To set up the environment: Create a new environment for so-vits-svc-fork, also adding in pip

conda create -n so-vits-svc-fork pip

Activate the environment

conda activate so-vits-svc-fork

Install pytorch and so-vits-svc-fork

pip install -U torch torchaudio --index-url https://download.pytorch.org/whl/cu117
pip install so-vits-svc-fork

To use the environment and svc: Activate the environment:

conda activate so-vits-svc-fork

svc and svcg commands should now be available and use the conda environment that was created.

Thanks! It works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants