Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MPV
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan Macalík
MPV
Commits
9b896488
Commit
9b896488
authored
2 years ago
by
Dmytro Mishkin
Browse files
Options
Downloads
Patches
Plain Diff
update the environment
parent
684cd700
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+19
-11
19 additions, 11 deletions
README.md
with
19 additions
and
11 deletions
README.md
+
19
−
11
View file @
9b896488
...
...
@@ -28,25 +28,33 @@ git merge master
You can create conda environment with all required packages via the following for CPU:
```
bash
conda create
--name
mpv-assignments-cpu-only
python
=
3.
8
conda create
--name
mpv-assignments-cpu-only
python
=
3.
10
conda activate mpv-assignments-cpu-only
pip3
install
torch
==
1.
8.2
+cpu
torchvision
==
0.
9.2
+cpu
-f
https://download.pytorch.org/whl/
lts/1.8/torch_lts.html
pip3
install
kornia
==
0.6.
3
tqdm notebook matplotlib opencv-contrib-python
==
4.
5.3.56
seaborn tensorboard tensorboardX
pip3
install
torch
==
1.
12.1
+cpu
torchvision
==
0.
13.1
+cpu
torchaudio
==
0.12.1
--extra-index-url
https://download.pytorch.org/whl/
cpu
pip3
install
kornia
==
0.6.
10
tqdm notebook matplotlib opencv-contrib-python
==
4.
7.0.68
seaborn tensorboard tensorboardX
ipywidgets widgetsnbextension
pip3
install
kornia_moons
--no-deps
conda
install
-c
conda-forge widgetsnbextension
conda
install
-c
conda-forge ipywidgets
```
And following for GPU
:
And following for GPU
. You may need to change the cuda version to the actually installed one.
```
bash
conda create
--name
mpv-assignments-gpu
python
=
3.
8
conda create
--name
mpv-assignments-gpu
python
=
3.
10
conda activate mpv-assignments-gpu
pip3
install
torch
==
1.8.2+cu102
torchvision
==
0.9.2+cu102
-f
https://download.pytorch.org/whl/lts/1.8/torch_lts.html
pip3
install
kornia
==
0.6.3 tqdm notebook matplotlib opencv-contrib-python
==
4.5.3.56 seaborn tensorboard tensorboardX
pip3
install
torch
==
1.12.1+cu113
torchvision
==
0.13.1
torchaudio
==
0.12.1
--extra-index-url
https://download.pytorch.org/whl/cu113
pip3
install
kornia
==
0.6.10 tqdm notebook matplotlib opencv-contrib-python
==
4.7.0.68 seaborn tensorboard tensorboardX ipywidgets widgetsnbextension
pip3
install
kornia_moons
--no-deps
```
For Apple Silicon devices (M1, M2 family) use:
```
bash
conda create
--name
mpv-assignments-cpu-only
python
=
3.10
conda activate mpv-assignments-cpu-only
conda
install
-c
apple tensorflow-deps
pip3
install
tensorflow-macos tensorflow-metal
pip3
install
torch
==
1.12.1
torchvision
==
0.13.1
torchaudio
==
0.12.1
--extra-index-url
https://download.pytorch.org/whl/cpu
pip3
install
kornia
==
0.6.10 tqdm notebook matplotlib opencv-contrib-python
==
4.7.0.68 seaborn tensorboard tensorboardX ipywidgets widgetsnbextension
pip3
install
kornia_moons
--no-deps
conda
install
-c
conda-forge widgetsnbextension
conda
install
-c
conda-forge ipywidgets
```
**Keep in mind that the assignments and the assignment templates will be updated during the semester. Always pull the current template version before starting to work on an assignment!**
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment