CNN weights example - #730
Conversation
|
Are you trying to update a graphic in a for loop? You can't do this right now, see the discussions post. For now we can use zmq or see rendercanvas and try to expose the ondemand rendering mode in fpl Torch tensors can't be used directly but if you do np.asarray it will not make a copy |
Even when I do np.asarray I still get issues that the arrays are on different devices
I was trying to use for loop, I will try using zmq for now |
|
Yea you need to send to cpu |
|
Okay, still a bit messy and inelegant...but progress Right now I have the weights updating after every training epoch net_weights.mp4 |
WIP!
Started playing around with a simple CNN in pytorch to visualize the weights as the model is training using the MNIST dataset
The weights are definitely being updated every epoch, but the plot will not update until the last training epoch is done...not sure why
Another thing of note, pytorch tensors cannot directly be used with fpl right now because