Skip to content

Commit

Permalink
Merge pull request #58 from Gan4x4/main
Browse files Browse the repository at this point in the history
Add external url for legacy pytorch package
  • Loading branch information
WuJunde authored Oct 23, 2023
2 parents c3f33af + 599e0e9 commit 9cc85b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
class ISIC2016(Dataset):
def __init__(self, args, data_path , transform = None, transform_msk = None, mode = 'Training',prompt = 'click', plane = False):


df = pd.read_csv(os.path.join(data_path, 'ISBI2016_ISIC_Part3B_' + mode + '_GroundTruth.csv'), encoding='gbk')
df = pd.read_csv(os.path.join(data_path, 'ISBI2016_ISIC_Part1_' + mode + '_GroundTruth.csv'), encoding='gbk')
self.name_list = df.iloc[:,1].tolist()
self.label_list = df.iloc[:,2].tolist()
self.data_path = data_path
Expand Down Expand Up @@ -91,4 +90,4 @@ def __getitem__(self, index):
'pt':pt,
'image_meta_dict':image_meta_dict,
}


1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ dependencies:
- zlib=1.2.13=h5eee18b_0
- zstd=1.5.5=hc292b87_0
- pip:
- --extra-index-url https://download.pytorch.org/whl/cu113
- aiosignal==1.2.0
- alembic==1.10.4
- appdirs==1.4.4
Expand Down

0 comments on commit 9cc85b6

Please sign in to comment.