41 lines
972 B
Markdown
41 lines
972 B
Markdown
# Python venv
|
|
Start a python environment here in this directory
|
|
```py
|
|
python -m venv .
|
|
```
|
|
|
|
Then we start the env using
|
|
```py
|
|
source ./bin/activate
|
|
```
|
|
|
|
We can then install whats needed with `pip`. for exampe
|
|
we can put all dependencies in some text file. say dependencies.txt
|
|
```py
|
|
# pip install
|
|
# already added dependencies.txt
|
|
pip install -r dependencies.txt
|
|
|
|
```
|
|
|
|
Downloading the data from google drive was impossible. So Downloaded them manualy
|
|
and They need to be put in the a ./data directory
|
|
The download url was available in the error log.
|
|
`https://drive.google.com/uc?id=0B7EVK8r0v71pZjFTYXZWM3FlRnM`
|
|
this is the same location thats available in the official site
|
|
|
|
```
|
|
Root_dir/
|
|
└── data/
|
|
└── celeba/
|
|
├── img_align_celeba.zip
|
|
├── list_attr_celeba.txt
|
|
├── list_bbox_celeba.txt
|
|
├── list_eval_partition.txt
|
|
└── list_landmarks_align_celeba.txt
|
|
|
|
```
|
|
|
|
once this is done manually
|
|
|