File size: 487 Bytes
3f7c489
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import os

from dataset import DataLoaderTrain, DataLoaderVal, DataLoaderTest
def get_training_data(rgb_dir, img_options, debug):
    assert os.path.exists(rgb_dir)
    return DataLoaderTrain(rgb_dir, img_options, None, debug)

def get_validation_data(rgb_dir,  debug=False):
    assert os.path.exists(rgb_dir)
    return DataLoaderVal(rgb_dir, None, debug)

def get_test_data(rgb_dir,  debug=False):
    assert os.path.exists(rgb_dir)
    return DataLoaderTest(rgb_dir, None, debug)