for notes
This commit is contained in:
@@ -7,9 +7,9 @@ from net import *
|
||||
from torchvision.utils import save_image
|
||||
|
||||
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
||||
weight_path = r'/Users/hanzhangma/Nextcloud/mhz/Study/SS24/MasterThesis/UNet/params/unet.pth'
|
||||
data_path = r'/Users/hanzhangma/Document/DataSet/VOC2007'
|
||||
save_path = r'/Users/hanzhangma/Nextcloud/mhz/Study/SS24/MasterThesis/Unet/train_image'
|
||||
weight_path = r'D:\\MasterThesis\\UNet\\params\\unet.pth'
|
||||
data_path = r'D:\\MasterThesis\\data\\VOCdevkit\\VOC2007'
|
||||
save_path = r'D:\\MasterThesis\\UNet\\train_image'
|
||||
|
||||
if __name__ == '__main__':
|
||||
data_loader = DataLoader(MyDataset(data_path), batch_size= 4, shuffle=True)
|
||||
|
Reference in New Issue
Block a user