mirror of
https://github.com/Laurent2916/REVA-QCAV.git
synced 2024-11-09 15:02:03 +00:00
feat: splitting true images in two
Former-commit-id: ad2d1d854f331672afa8f5443952151d8978e684 [formerly 79566cff12dad5a2ca4ee9b758fb7da98f652a59] Former-commit-id: 5406367c9bdc195310b505cbcb90cbec1838f02c
This commit is contained in:
parent
164417b13f
commit
6acac70972
|
@ -10,9 +10,8 @@ from unet import UNet
|
|||
|
||||
CONFIG = {
|
||||
"DIR_TRAIN_IMG": "/home/lilian/data_disk/lfainsin/train/",
|
||||
"DIR_VALID_IMG": "/home/lilian/data_disk/lfainsin/val/",
|
||||
"DIR_TEST_IMG": "/home/lilian/data_disk/lfainsin/test/",
|
||||
"DIR_SPHERE": "/home/lilian/data_disk/lfainsin/realspheres/",
|
||||
"DIR_VALID_IMG": "//home/lilian/data_disk/lfainsin/test_split/",
|
||||
"DIR_SPHERE": "/home/lilian/data_disk/lfainsin/spheres+real_split/",
|
||||
"FEATURES": [8, 16, 32, 64],
|
||||
"N_CHANNELS": 3,
|
||||
"N_CLASSES": 1,
|
||||
|
|
|
@ -93,7 +93,7 @@ class UNet(pl.LightningModule):
|
|||
)
|
||||
|
||||
def val_dataloader(self):
|
||||
ds_valid = SphereDataset(image_dir=wandb.config.DIR_TEST_IMG)
|
||||
ds_valid = SphereDataset(image_dir=wandb.config.DIR_VALID_IMG)
|
||||
|
||||
return DataLoader(
|
||||
ds_valid,
|
||||
|
|
Loading…
Reference in a new issue