TypeError: __init__() takes at least 3 arguments (2 given)

10 views
Skip to first unread message

rasoul...@gmail.com

unread,
Oct 7, 2016, 6:53:39 AM10/7/16
to fuel-users
Hello,

I have HDF5 file containing two datasets and I wanna read them through Fuel.

    from fuel.datasets import H5PYDataset
    image_dataset
= H5PYDataset( '/home/usr/test.hdf5', which_sets=('/imagePatches',))
    label_dataset
= H5PYDataset( h5filename, which_sets=('/label',))Enter code here...

When I try to read them by H5PYDataset, it gives me following error:
    TypeError: __init__() takes at least 3 arguments (2 given)Enter code here...

Would you please help me?
Reply all
Reply to author
Forward
0 new messages