Skip to content

Commit 9cd202c

Browse files
committed
updating requirements
1 parent 59877cb commit 9cd202c

File tree

4 files changed

+8
-17
lines changed

4 files changed

+8
-17
lines changed
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
FROM pytorch/pytorch:latest
22

3-
COPY docker/requirements.txt requirements.txt
3+
COPY requirements.txt requirements.txt
44

55
RUN apt-get update && apt-get install -y --no-install-recommends \
66
tree
77
RUN pip install --upgrade pip
8-
98
RUN pip install -r requirements.txt
109

1110
WORKDIR /app/work/
1211
COPY src/ src/
13-
1412
CMD ["bash"]

docker/requirements.txt

Lines changed: 0 additions & 7 deletions
This file was deleted.

requirements.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pandas==2.1.1
2+
Pillow==10.0.1
3+
pyarrow==13.0.0
4+
pydantic==1.8.2
5+
pytorch-lightning== 1.8.6

src/helper_utils.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
1-
import os
2-
3-
import einops
4-
from PIL import Image
5-
import numpy as np
61
import pandas as pd
72
import torch
8-
from torchvision import datasets, transforms
3+
from torchvision import transforms
94

10-
from model import CustomTensorDataset, CustomDirectoryDataset #, CustomSplashDataset
5+
from model import CustomDirectoryDataset
116

127

138
def split_dataset(dataset, val_pct):

0 commit comments

Comments
 (0)