Skip to content

Commit

Permalink
Update dataloader.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jackzhu727 authored Aug 5, 2022
1 parent ebe6d00 commit b58070c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dataset/dataloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import torch
from PIL import Image
from torch.utils.data import Dataset
from torchvision import transforms
import cv2

class TCGA_CPTAC_Dataset(Dataset):
def __init__(self, cptac_dir, tcga_dir, split_dir, transform=None, mode='train', batch_slide_num=4, batch_size=128):
Expand Down

0 comments on commit b58070c

Please sign in to comment.