Open LuciusV opened 3 years ago
Did you solve the problem? @LuciusV
Also make sure your numpy version is 1.19, since the 1.20 versions have some incompatibility issues
Did you solve the problem? @LuciusV
Also make sure your numpy version is 1.19, since the 1.20 versions have some incompatibility issues
Thank you for pointing this. I will create a new virtual environment with numpy =1.19 and try, because I was using newer numpy .
Hello! I wanted to train megnet model to classification of structure set (some property is zero or not), so I prepared train data as column with string values 'zero' or 'nonzero'.
Then model.train method (model is MEGNetModel loaded from band_classification.hdf5) fails with ValueError: Failed to convert a NumPy array to a Tensor (Unsupported object type list). Using bool values instead of string also doesn't work. If I use 0 and 1 for train, then trained model gives me float values (near 0 or 1 if trained well enough), but this is not reliable and I would like to do classification machine learning, with probably more than two classes. Could you please provide any advice how to change model properties to allow that?
there is function i use to make model: