MNCJihun commited on
Commit
2ec8acb
·
1 Parent(s): 547f1df

rm dockerfile

Browse files
Files changed (3) hide show
  1. .gitignore +2 -0
  2. Dockerfile +0 -19
  3. binary_classification.ipynb +3 -10
.gitignore CHANGED
@@ -3,3 +3,5 @@ __pycache__/
3
  __MACOSX/
4
  dataset.zip
5
  *.pth
 
 
 
3
  __MACOSX/
4
  dataset.zip
5
  *.pth
6
+ .conda/
7
+ .ipynb_checkpoints/
Dockerfile DELETED
@@ -1,19 +0,0 @@
1
- FROM pytorch/pytorch:1.10.0-cuda11.3-cudnn8-devel
2
- RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A4B469963BF863CC
3
- RUN apt-get update && \
4
- apt-get upgrade -y && \
5
- apt-get install -y git
6
- RUN apt-get -y install libgl1-mesa-glx libglib2.0-0
7
- RUN apt-get -y install vim byobu aria2
8
-
9
- COPY . /usr/src/motorbike_cls
10
- # RUN ls /usr/src/motorbike_cls
11
- RUN cd /usr/src/motorbike_cls
12
-
13
- WORKDIR /usr/src/motorbike_cls
14
-
15
- RUN pip install --no-cache-dir --upgrade pip && \
16
- pip install -r /usr/src/motorbike_cls/requirements.txt
17
-
18
- CMD ["test.py"]
19
- ENTRYPOINT ["python3"]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
binary_classification.ipynb CHANGED
@@ -6,8 +6,8 @@
6
  "metadata": {},
7
  "outputs": [],
8
  "source": [
9
- "%matplotlib inline\n",
10
- "%config InlineBackend.figure_format = 'retina'\n",
11
  "\n",
12
  "import os\n",
13
  "import matplotlib.pyplot as plt\n",
@@ -524,13 +524,6 @@
524
  " print(f'VAL: [{epoch + 1}, {i + 1:5d}] loss: {running_loss / 2000:.3f}')\n",
525
  " print(\"VAL acc = {}\".format(acc))"
526
  ]
527
- },
528
- {
529
- "cell_type": "code",
530
- "execution_count": null,
531
- "metadata": {},
532
- "outputs": [],
533
- "source": []
534
  }
535
  ],
536
  "metadata": {
@@ -549,7 +542,7 @@
549
  "name": "python",
550
  "nbconvert_exporter": "python",
551
  "pygments_lexer": "ipython3",
552
- "version": "3.7.11"
553
  },
554
  "orig_nbformat": 4
555
  },
 
6
  "metadata": {},
7
  "outputs": [],
8
  "source": [
9
+ "# %matplotlib inline\n",
10
+ "# %config InlineBackend.figure_format = 'retina'\n",
11
  "\n",
12
  "import os\n",
13
  "import matplotlib.pyplot as plt\n",
 
524
  " print(f'VAL: [{epoch + 1}, {i + 1:5d}] loss: {running_loss / 2000:.3f}')\n",
525
  " print(\"VAL acc = {}\".format(acc))"
526
  ]
 
 
 
 
 
 
 
527
  }
528
  ],
529
  "metadata": {
 
542
  "name": "python",
543
  "nbconvert_exporter": "python",
544
  "pygments_lexer": "ipython3",
545
+ "version": "3.10.10"
546
  },
547
  "orig_nbformat": 4
548
  },