Quanvolutional Neural Networks by Andrea Mari

Hello, I was going through this code and wanted to implement this for RGB images like used for emotion analysis. How I use the code for the same?

Thank you

Hey @Roopa_Golchha , welcome to the forum! :slight_smile:
You’re looking at this demo, right? Quanvolutional Neural Networks | PennyLane Demos

I think the best thing you can do when you want to adapt the code in one of our tutorials is to go ahead and download the Jupyter notebook (right side of your screen, in the ‘Downloads’ section). Then you can play around with the code directly, test and change things around to fit a slightly different project.

I’m not exactly sure about the setup you’d like to try to solve, but if you’re trying to process images using a quantum variational circuit, this is a great place to start! And if you come across any issues with using PennyLane, you can let us know and we’ll try to help. :slight_smile:

We’d also love to know how you’re using PennyLane and which features are most important to your projects — if you could take a short minute and check out the PennyLane v0.32 survey, that would be awesome! :smiley: PennyLane is an open-source project, sa figuring out which applications matter to users is really important to us.

1 Like

Hello @Roopa_Golchha,

You should be able to change your code to keras.datasets.cifar10 to replace MNIST for experimentation.


1 Like

Thank you Kevin, I will surely try this…

Thank you Ivana…I will surely take the survey…

1 Like