deephealthproject / pyecvl

Python wrapper for the ECVL.
MIT License
4 stars 2 forks source link

Bad binding for DLDataset::SetSplitSeed #66

Closed simleo closed 2 years ago

simleo commented 2 years ago
>>> d = ecvl.DLDataset("/ecvl/examples/data/mnist/mnist_reduced.yml", 10, ecvl.DatasetAugmentations([ecvl.AugCenterCrop()]))
>>> d.SetSplitSeed(0)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.6/dist-packages/pyecvl-0.12.1-py3.6-linux-x86_64.egg/pyecvl/support_eddl.py", line 186, in SetSplitSeed
    return _ecvl.DLDataset.SetSplitSeed(self, seed)
TypeError: SetSplitSeed(): incompatible function arguments. The following argument types are supported:
    1. (self: int) -> None

Invoked with: <pyecvl.support_eddl.DLDataset object at 0x7fa65feffbf8>, 0