Fix README
This commit is contained in:
parent
1b09ee5f54
commit
df22464481
26
README.md
26
README.md
@ -6,7 +6,13 @@
|
|||||||
|
|
||||||
2. Fork this repository to your GitHub account.
|
2. Fork this repository to your GitHub account.
|
||||||
|
|
||||||
3. Run Jupyter docker image:
|
3. Pull Jupyter image:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker pull jupyter/minimal-notebook:latest
|
||||||
|
```
|
||||||
|
|
||||||
|
4. Run Jupyter docker image:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run \
|
docker run \
|
||||||
@ -18,24 +24,30 @@ docker run \
|
|||||||
|
|
||||||
Remember to change **DIRECTORY** to directory where all files can be found. You can change it to `$(pwd)` if your current directory is proper one.
|
Remember to change **DIRECTORY** to directory where all files can be found. You can change it to `$(pwd)` if your current directory is proper one.
|
||||||
|
|
||||||
4. Get loging link with following command:
|
5. Get loging link with following command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker logs REK 2>&1 | grep -o 'http://127.0.0.1:8888.*' | tail -n1
|
docker logs REK 2>&1 | grep -o 'http://127.0.0.1:8888/?token.*' | tail -n1
|
||||||
|
|
||||||
Example output:
|
Example output:
|
||||||
http://127.0.0.1:8888/?token=2bb816a4bc36a4bdbf64e0c9a89f336ae5404a01d15e442c
|
http://127.0.0.1:8888/?token=2bb816a4bc36a4bdbf64e0c9a89f336ae5404a01d15e442c
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Prepare conda environment:
|
If above command did not work. Just find it in logs:
|
||||||
|
```bash
|
||||||
|
docker logs REK
|
||||||
|
```
|
||||||
|
|
||||||
|
6. Prepare conda environment:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker exec REK bash -c "
|
docker exec REK bash -c "
|
||||||
conda env create --name rs-class-env -f /home/jovyan/REK/environment.yml;
|
conda env create --name REK -f /home/jovyan/REK/environment.yml;
|
||||||
python -m ipykernel install --user --name=rs-class-env"
|
conda run -n REK /bin/bash -c \"
|
||||||
|
python -m ipykernel install --user --name=REK\""
|
||||||
```
|
```
|
||||||
|
|
||||||
6. You can start/stop container whenever you want:
|
7. You can start/stop container whenever you want:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker stop REK
|
docker stop REK
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
name: rs-class-env
|
name: REK
|
||||||
channels:
|
channels:
|
||||||
- defaults
|
- defaults
|
||||||
dependencies:
|
dependencies:
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -2,19 +2,10 @@
|
|||||||
"cells": [
|
"cells": [
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 449,
|
"execution_count": 1,
|
||||||
"id": "alike-morgan",
|
"id": "alike-morgan",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [
|
"outputs": [],
|
||||||
{
|
|
||||||
"name": "stdout",
|
|
||||||
"output_type": "stream",
|
|
||||||
"text": [
|
|
||||||
"The autoreload extension is already loaded. To reload it, use:\n",
|
|
||||||
" %reload_ext autoreload\n"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"source": [
|
"source": [
|
||||||
"%matplotlib inline\n",
|
"%matplotlib inline\n",
|
||||||
"%load_ext autoreload\n",
|
"%load_ext autoreload\n",
|
||||||
@ -1371,7 +1362,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 455,
|
"execution_count": 2,
|
||||||
"id": "stable-theta",
|
"id": "stable-theta",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
@ -1881,13 +1872,7 @@
|
|||||||
"epoch 4000 \n",
|
"epoch 4000 \n",
|
||||||
" Train set - loss: 0.961\n",
|
" Train set - loss: 0.961\n",
|
||||||
" Test set - loss: 32.549\n",
|
" Test set - loss: 32.549\n",
|
||||||
" \n"
|
" \n",
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "stdout",
|
|
||||||
"output_type": "stream",
|
|
||||||
"text": [
|
|
||||||
"epoch 5000 \n",
|
"epoch 5000 \n",
|
||||||
" Train set - loss: 0.922\n",
|
" Train set - loss: 0.922\n",
|
||||||
" Test set - loss: 38.252\n",
|
" Test set - loss: 38.252\n",
|
||||||
@ -2758,9 +2743,9 @@
|
|||||||
],
|
],
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"kernelspec": {
|
"kernelspec": {
|
||||||
"display_name": "rek_uno",
|
"display_name": "REK1",
|
||||||
"language": "python",
|
"language": "python",
|
||||||
"name": "rek_uno"
|
"name": "rek1"
|
||||||
},
|
},
|
||||||
"language_info": {
|
"language_info": {
|
||||||
"codemirror_mode": {
|
"codemirror_mode": {
|
||||||
|
Loading…
Reference in New Issue
Block a user