Compare commits
No commits in common. "0404f5b5b02e0b40705d0d0ba65972b42fc70fe2" and "a7d89bd95c4dc0bac5de941d2d1945bfc84d5d89" have entirely different histories.
0404f5b5b0
...
a7d89bd95c
@ -353,7 +353,7 @@ def fetch_dataloader(args):
|
|||||||
train_dataset = new_dataset if train_dataset is None else train_dataset + new_dataset
|
train_dataset = new_dataset if train_dataset is None else train_dataset + new_dataset
|
||||||
|
|
||||||
train_loader = data.DataLoader(train_dataset, batch_size=args.batch_size,
|
train_loader = data.DataLoader(train_dataset, batch_size=args.batch_size,
|
||||||
pin_memory=True, shuffle=True, num_workers=12, drop_last=True)
|
pin_memory=True, shuffle=True, num_workers=int(os.environ.get('SLURM_CPUS_PER_TASK', 6))-2, drop_last=True)
|
||||||
|
|
||||||
logging.info('Training with %d image pairs' % len(train_dataset))
|
logging.info('Training with %d image pairs' % len(train_dataset))
|
||||||
return train_loader
|
return train_loader
|
||||||
|
@ -22,6 +22,7 @@ from evaluate_stereo import *
|
|||||||
import core.stereo_datasets as datasets
|
import core.stereo_datasets as datasets
|
||||||
import torch.nn.functional as F
|
import torch.nn.functional as F
|
||||||
|
|
||||||
|
torch.backends.cudnn.benchmark = True
|
||||||
|
|
||||||
ckpt_path = './checkpoints/igev_stereo'
|
ckpt_path = './checkpoints/igev_stereo'
|
||||||
log_path = './checkpoints/igev_stereo'
|
log_path = './checkpoints/igev_stereo'
|
||||||
|
Loading…
Reference in New Issue
Block a user