-
Notifications
You must be signed in to change notification settings - Fork 61
Description
Hi everyone, I faced this errors when ruining the main.py by sample data files [train 00-04 and test], so, please anyone can suggest to me the way of how to fix this issues?. Thanks for all advance.
Traceback (most recent call last):
File "C:/....../DeepTTE-master-2/main.py", line 172, in
run()
File "C:/........./DeepTTE-master-2/main.py", line 168, in run
evaluate(model, elogger, config['test_set'], save_result=True)
File "C:/......./DeepTTE-master-2/main.py", line 119, in evaluate
data_iter = data_loader.get_loader(input_file, args.batch_size)
File "C:.........\DeepTTE-master-2\data_loader.py", line 105, in get_loader
batch_sampler = BatchSampler(dataset, batch_size)
File "C:.........\DeepTTE-master-2\data_loader.py", line 70, in init
self.count = len(dataset)
File "C:..........\DeepTTE-master-2\data_loader.py", line 29, in len
return len(self.content)
TypeError: object of type 'map' has no len()