1.0.0 official release (#18)
* fix bug in fix_BN * gaitgl OUMVLP support. * update ./doc/3.advance_usage.md Cross-Dataset Evalution & Data Agumentation * update config * update docs.3 * update docs.3 * add loss doc and gather input decorator * refine the create model doc * support rearrange directory of unzipped OUMVLP * fix some bugs in loss_aggregator.py * refine docs and little fix * add oumvlp pretreatment description * pretreatment dataset fix oumvlp description * add gaitgl oumvlp result * assert gaitgl input size * add pipeline * update the readme. * update pipeline and readme * Corrigendum. * add logo and remove path * update new logo * Update README.md * modify logo size Co-authored-by: 12131100 <12131100@mail.sustech.edu.cn> Co-authored-by: noahshen98 <77523610+noahshen98@users.noreply.github.com> Co-authored-by: Noah <595311942@qq.com>
This commit is contained in:
+5
-5
@@ -52,14 +52,14 @@ class DataSet(tordata.Dataset):
|
||||
|
||||
def __getitem__(self, idx):
|
||||
if not self.cache:
|
||||
data_lst = self.__loader__(self.seqs_info[idx][-1])
|
||||
data_list = self.__loader__(self.seqs_info[idx][-1])
|
||||
elif self.seqs_data[idx] is None:
|
||||
data_lst = self.__loader__(self.seqs_info[idx][-1])
|
||||
self.seqs_data[idx] = data_lst
|
||||
data_list = self.__loader__(self.seqs_info[idx][-1])
|
||||
self.seqs_data[idx] = data_list
|
||||
else:
|
||||
data_lst = self.seqs_data[idx]
|
||||
data_list = self.seqs_data[idx]
|
||||
seq_info = self.seqs_info[idx]
|
||||
return data_lst, seq_info
|
||||
return data_list, seq_info
|
||||
|
||||
def __load_all_data(self):
|
||||
for idx in range(len(self)):
|
||||
|
||||
Reference in New Issue
Block a user