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 there,
I really appreciate Hebel. It was a good first step for me to "take the plunge" into using GPU.
I struggled a bit after going through the example (MNIST) script. In particular, it wasn't clear how to have the model predict new data (i.e., data you don't have targets for).
The first (small) stumble was what to with the DataProvider. I just put in dummy zero targets. Perhaps targets could be an optional field somehow?
A more thorny issue was how to actually do the predictions. I couldn't for the life of me figure out how to feed the DataProvider data into the feed_forward without getting the error:
# After loading in the data . . .Xv=Xv.astype(np.float32)
yv=pd.get_dummies(yv).values.astype(np.float32)
valid_data=MiniBatchDataProvider(Xv, yv, batch_size=5000)
I finally resorted to useing a gpu array which worked:
Hi there,
I really appreciate Hebel. It was a good first step for me to "take the plunge" into using GPU.
I struggled a bit after going through the example (MNIST) script. In particular, it wasn't clear how to have the model predict new data (i.e., data you don't have targets for).
The first (small) stumble was what to with the DataProvider. I just put in dummy zero targets. Perhaps
targets
could be an optional field somehow?A more thorny issue was how to actually do the predictions. I couldn't for the life of me figure out how to feed the DataProvider data into the feed_forward without getting the error:
This was my original attempt:
I finally resorted to useing a gpu array which worked:
The
.get()
at the end of the last statement was also something I had to figure out going through code.Having an example in the documentation would be helpful.
The text was updated successfully, but these errors were encountered: