autonomio / talos

Hyperparameter Experiments with TensorFlow and Keras
https://autonom.io
MIT License
1.62k stars 268 forks source link

AttributeError: 'numpy.ndarray' object has no attribute 'to_csv' #348

Closed jwc905 closed 5 years ago

jwc905 commented 5 years ago

The scan parameter docs say that x and y should be a Numpy ndarray and using that the scan works just fine, but when I try to Deploy I get the following error when trying to save the x and y data to csv.:

AttributeError: 'numpy.ndarray' object has no attribute 'to_csv'

And of course, ndarray doesn't have a to_csv method, so I'm confused by the discrepancy. Is a Pandas Dataframe expected? If so what format is expected? I've had trouble getting the scan to accept a Dataframe.

Note: I'm currently using the latest daily-dev release of v0.6.1

mikkokotila commented 5 years ago

Thanks for flagging this. It is an internal issue in Deploy I was not aware of. Will look into it.

mikkokotila commented 5 years ago

Please post the full trace for the error you are getting. Thanks.

mikkokotila commented 5 years ago

This is now fixed. Closing here. Thanks again and have a nice new week ahead as well.