-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdataset.py
44 lines (24 loc) · 1006 Bytes
/
dataset.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
def get_pretraining_set_intra(opts):
from feeder.feeder_pretraining_intra import Feeder
training_data = Feeder(**opts.train_feeder_args)
return training_data
def get_pretraining_set_inter(opts):
from feeder.feeder_pretraining_inter import Feeder
training_data = Feeder(**opts.train_feeder_args)
return training_data
def get_finetune_training_set(opts):
from feeder.feeder_downstream import Feeder
data = Feeder(**opts.train_feeder_args)
return data
def get_finetune_validation_set(opts):
from feeder.feeder_downstream import Feeder
data = Feeder(**opts.test_feeder_args)
return data
def get_finetune_training_set_semi_supervised(opts):
from feeder.feeder_downstream_semi_supervised import Feeder
data = Feeder(**opts.train_feeder_args)
return data
def get_finetune_validation_set_semi_supervised(opts):
from feeder.feeder_downstream_semi_supervised import Feeder
data = Feeder(**opts.test_feeder_args)
return data