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
Hi,
I'm trying to get the project to run, but did not succeed:
symptoms:
sha1 sum for list_attr_celeba.txt did not match the one specified in deeppy source. I got over this issue by skipping this check for all other files it was correct.
Then, dataset.attributes.astype(dp.float_) fails in ./dataset/celeba.py with error: attributes = dataset.attributes.astype(dp.float_) Traceback (most recent call last): File "/usr/lib/python3.5/code.py", line 91, in runcode exec(code, self.locals) File "<input>", line 1, in <module> TypeError: float() argument must be a string or a number, not 'map'
I suspect this originates from yet again deeppy, at deeppy/dataset/celeba.py def _load(self): with open(self._npz_path, 'rb') as f: dic = np.load(f) return (dic['train_idxs'], dic['val_idxs'], dic['test_idxs'], dic['attribute_names'][()], dic['attributes'])
from which dict['attributes'] looks like this: dic['attributes'] array([array(<map object at 0x7f03b4941da0>, dtype=object), array(<map object at 0x7f03b4953668>, dtype=object), array(<map object at 0x7f03b4958908>, dtype=object), ..., array(<map object at 0x7f0368bba748>, dtype=object), array(<map object at 0x7f0368bbada0>, dtype=object), array(<map object at 0x7f0368bbc588>, dtype=object)], dtype=object)
It might as well be some version incompatibility. Could you please specify the module versions of a running configuration (Python version, numpy, ...) or provide a solution for my problem?
thanks!
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to get the project to run, but did not succeed:
symptoms:
sha1 sum for list_attr_celeba.txt did not match the one specified in deeppy source. I got over this issue by skipping this check for all other files it was correct.
Then, dataset.attributes.astype(dp.float_) fails in ./dataset/celeba.py with error:
attributes = dataset.attributes.astype(dp.float_) Traceback (most recent call last): File "/usr/lib/python3.5/code.py", line 91, in runcode exec(code, self.locals) File "<input>", line 1, in <module> TypeError: float() argument must be a string or a number, not 'map'
I suspect this originates from yet again deeppy, at deeppy/dataset/celeba.py
def _load(self): with open(self._npz_path, 'rb') as f: dic = np.load(f) return (dic['train_idxs'], dic['val_idxs'], dic['test_idxs'], dic['attribute_names'][()], dic['attributes'])
from which dict['attributes'] looks like this:
dic['attributes'] array([array(<map object at 0x7f03b4941da0>, dtype=object), array(<map object at 0x7f03b4953668>, dtype=object), array(<map object at 0x7f03b4958908>, dtype=object), ..., array(<map object at 0x7f0368bba748>, dtype=object), array(<map object at 0x7f0368bbada0>, dtype=object), array(<map object at 0x7f0368bbc588>, dtype=object)], dtype=object)
It might as well be some version incompatibility. Could you please specify the module versions of a running configuration (Python version, numpy, ...) or provide a solution for my problem?
thanks!
The text was updated successfully, but these errors were encountered: