-
Notifications
You must be signed in to change notification settings - Fork 486
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
SET ENV="ppde642" | ||
CALL %USERPROFILE%\miniforge3\Scripts\activate.bat && ^ | ||
conda activate base && ^ | ||
mamba env remove -n %ENV% --yes && ^ | ||
mamba clean --all --yes --quiet --no-banner && ^ | ||
mamba env create --file ../environment.yml --force && ^ | ||
conda activate %ENV% && ^ | ||
python -m ipykernel install --sys-prefix --name %ENV% --display-name "Python (%ENV%)" && ^ | ||
mamba clean --all --yes --quiet --no-banner && ^ | ||
mamba list --no-banner && ^ | ||
jupyter kernelspec list && ^ | ||
ipython -c "from nltk.corpus import brown; print(brown.words())" && ^ | ||
ipython -c "import torch; print(torch.__version__, torch.cuda.is_available())" && ^ | ||
ipython -c "from transformers import pipeline; print(pipeline('sentiment-analysis')('I love you'))" && ^ | ||
ipython -c "import osmnx; print('osmnx version', osmnx.__version__)" |