You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "main.py", line 213, in
dataset = DataLoader(opt, split='train')
File "/workspace/neuralbabytalk/misc/dataloader_coco.py", line 112, in init
self.dataloader_hdf = HDFSingleDataset(self.opt.proposal_h5)
File "/workspace/neuralbabytalk/misc/dataloader_hdf.py", line 59, in init
super().init(
TypeError: super() takes at least 1 argument (0 given)
The text was updated successfully, but these errors were encountered:
because you are using python2.X, you should change super.init( ) ,which is ok in python3.X ,into super(HDFSingleDataset,self).init ,and also another one. in NueralBabyTalk/misc/dataloader_hdf.py
Traceback (most recent call last):
File "main.py", line 213, in
dataset = DataLoader(opt, split='train')
File "/workspace/neuralbabytalk/misc/dataloader_coco.py", line 112, in init
self.dataloader_hdf = HDFSingleDataset(self.opt.proposal_h5)
File "/workspace/neuralbabytalk/misc/dataloader_hdf.py", line 59, in init
super().init(
TypeError: super() takes at least 1 argument (0 given)
The text was updated successfully, but these errors were encountered: