We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18272bd commit 00cc8a8Copy full SHA for 00cc8a8
config.py
@@ -1,13 +1,13 @@
1
-pkl_dir_path = 'pickles'
2
-train_val_df_pkl_path = 'train_val_df.pickle'
3
-test_df_pkl_path = 'test_df.pickle'
+pkl_dir_path = 'pickles'
+train_val_df_pkl_path = 'train_val_df.pickle'
+test_df_pkl_path = 'test_df.pickle'
4
disease_classes_pkl_path = 'disease_classes.pickle'
5
-models_dir = 'models'
6
-
+models_dir = 'models'
7
8
from torchvision import transforms
9
normalize = transforms.Normalize(mean=[0.485, 0.456, 0.406],
10
std=[0.229, 0.224, 0.225])
+
11
# transforms.RandomHorizontalFlip() not used because some disease might be more likely to the present in a specific lung (lelf/rigth)
12
transform = transforms.Compose([transforms.ToPILImage(),
13
transforms.Resize(224),
0 commit comments