'dict' object has no attribute 'astype'
Closed this issue · 5 comments
mxmdpc commented
mxmdpc commented
The problem lies in the AffirmanceNet.py line 65: temp = labels.astype(np.float32).reshape(-1, 1)
toannguyen1904 commented
Hi @mxmdpc, the labels, if loaded properly, should be of type numpy.ndarray. Please carefully double check the data loading process.
Best regards,
Toan.
mxmdpc commented
toannguyen1904 commented
Did you use our dataset or the 3D AffordanceNet dataset? It seems like you used the latter. Please note that our dataset is different from the 3D AffordanceNet dataset, in which we only keep the argmax for the labels. We provided the Drive link to our dataset in README, please download and use it for this repository.
Best regards,
Toan.
mxmdpc commented
I see, thank you very much, I'll try to download and run this program
With respect,
Chen