Neural Network on Xilinx Virtex 5

  • Thread starter Electronics_hobbyist
  • Start date
E

Electronics_hobbyist

Guest
Hello, I am trying to build a Neural Network on Xilinx Virtex 5, that I
will feed it with images from this camera: OV7670 and train it in order
to determine if the person in the camera is man or woman. Is there any
VHDL core capable of implementing this processing? Ideally I would try
to achieve real-time (delay = 1-2 sec) to decide if the picture shows
man or woman. The camera I have bought is the OV7670, which takes
640x480 pictures. Can it work or I need a megapixel camera? I have,
also, found a High Definition 14 MegaPixel USB camera from ebay, and I
want to interface it with Virtex 5. Is something feasible? Where to
start from? In the same FPGA I have to put, also, the core of the
neural network and the core of the serial interface, which will output
man or woman. I am thinking of CNN.
Thank you...
 
On Thursday, February 21, 2019 at 7:43:02 PM UTC+2, Electronics_hobbyist wrote:
Hello, I am trying to build a Neural Network on Xilinx Virtex 5, that I
will feed it with images from this camera: OV7670 and train it in order
to determine if the person in the camera is man or woman. Is there any
VHDL core capable of implementing this processing? Ideally I would try
to achieve real-time (delay = 1-2 sec) to decide if the picture shows
man or woman. The camera I have bought is the OV7670, which takes
640x480 pictures. Can it work or I need a megapixel camera? I have,
also, found a High Definition 14 MegaPixel USB camera from ebay, and I
want to interface it with Virtex 5. Is something feasible? Where to
start from? In the same FPGA I have to put, also, the core of the
neural network and the core of the serial interface, which will output
man or woman. I am thinking of CNN.
Thank you...
 
On Thursday, February 21, 2019 at 7:43:02 PM UTC+2, Electronics_hobbyist wrote:
Hello, I am trying to build a Neural Network on Xilinx Virtex 5, that I
will feed it with images from this camera: OV7670 and train it in order
to determine if the person in the camera is man or woman. Is there any
VHDL core capable of implementing this processing? Ideally I would try
to achieve real-time (delay = 1-2 sec) to decide if the picture shows
man or woman. The camera I have bought is the OV7670, which takes
640x480 pictures. Can it work or I need a megapixel camera? I have,
also, found a High Definition 14 MegaPixel USB camera from ebay, and I
want to interface it with Virtex 5. Is something feasible? Where to
start from? In the same FPGA I have to put, also, the core of the
neural network and the core of the serial interface, which will output
man or woman. I am thinking of CNN.
Thank you...
 
On Thursday, February 21, 2019 at 7:43:02 PM UTC+2, Electronics_hobbyist wrote:
Hello, I am trying to build a Neural Network on Xilinx Virtex 5, that I
will feed it with images from this camera: OV7670 and train it in order
to determine if the person in the camera is man or woman. Is there any
VHDL core capable of implementing this processing? Ideally I would try
to achieve real-time (delay = 1-2 sec) to decide if the picture shows
man or woman. The camera I have bought is the OV7670, which takes
640x480 pictures. Can it work or I need a megapixel camera? I have,
also, found a High Definition 14 MegaPixel USB camera from ebay, and I
want to interface it with Virtex 5. Is something feasible? Where to
start from? In the same FPGA I have to put, also, the core of the
neural network and the core of the serial interface, which will output
man or woman. I am thinking of CNN.
Thank you...

Anyone to help???
 
On 23/02/2019 19:35, Electronics_hobbyist wrote:
On Thursday, February 21, 2019 at 7:43:02 PM UTC+2, Electronics_hobbyist wrote:
Hello, I am trying to build a Neural Network on Xilinx Virtex 5, that I
will feed it with images from this camera: OV7670 and train it in order
to determine if the person in the camera is man or woman. Is there any
VHDL core capable of implementing this processing? Ideally I would try
to achieve real-time (delay = 1-2 sec) to decide if the picture shows
man or woman. The camera I have bought is the OV7670, which takes
640x480 pictures. Can it work or I need a megapixel camera? I have,
also, found a High Definition 14 MegaPixel USB camera from ebay, and I
want to interface it with Virtex 5. Is something feasible? Where to
start from? In the same FPGA I have to put, also, the core of the
neural network and the core of the serial interface, which will output
man or woman. I am thinking of CNN.
Thank you...

Anyone to help???

I doubt anyone here can.

It's all a very tall order and far easier to determine the user's map
reading skills to determine sex.


--
Mike Perkins
Video Solutions Ltd
www.videosolutions.ltd.uk
 
On Saturday, February 23, 2019 at 9:53:49 PM UTC+2, Mike Perkins wrote:
On 23/02/2019 19:35, Electronics_hobbyist wrote:
On Thursday, February 21, 2019 at 7:43:02 PM UTC+2, Electronics_hobbyist wrote:
Hello, I am trying to build a Neural Network on Xilinx Virtex 5, that I
will feed it with images from this camera: OV7670 and train it in order
to determine if the person in the camera is man or woman. Is there any
VHDL core capable of implementing this processing? Ideally I would try
to achieve real-time (delay = 1-2 sec) to decide if the picture shows
man or woman. The camera I have bought is the OV7670, which takes
640x480 pictures. Can it work or I need a megapixel camera? I have,
also, found a High Definition 14 MegaPixel USB camera from ebay, and I
want to interface it with Virtex 5. Is something feasible? Where to
start from? In the same FPGA I have to put, also, the core of the
neural network and the core of the serial interface, which will output
man or woman. I am thinking of CNN.
Thank you...

Anyone to help???

I doubt anyone here can.

It's all a very tall order and far easier to determine the user's map
reading skills to determine sex.


--
Mike Perkins
Video Solutions Ltd
www.videosolutions.ltd.uk

Sorry, I didn't understand.
 
On Thursday, February 21, 2019 at 7:43:02 PM UTC+2, Electronics_hobbyist wrote:
Hello, I am trying to build a Neural Network on Xilinx Virtex 5, that I
will feed it with images from this camera: OV7670 and train it in order
to determine if the person in the camera is man or woman. Is there any
VHDL core capable of implementing this processing? Ideally I would try
to achieve real-time (delay = 1-2 sec) to decide if the picture shows
man or woman. The camera I have bought is the OV7670, which takes
640x480 pictures. Can it work or I need a megapixel camera? I have,
also, found a High Definition 14 MegaPixel USB camera from ebay, and I
want to interface it with Virtex 5. Is something feasible? Where to
start from? In the same FPGA I have to put, also, the core of the
neural network and the core of the serial interface, which will output
man or woman. I am thinking of CNN.
Thank you...
 
On Saturday, February 23, 2019 at 9:53:49 PM UTC+2, Mike Perkins wrote:
On 23/02/2019 19:35, Electronics_hobbyist wrote:
On Thursday, February 21, 2019 at 7:43:02 PM UTC+2, Electronics_hobbyist wrote:
Hello, I am trying to build a Neural Network on Xilinx Virtex 5, that I
will feed it with images from this camera: OV7670 and train it in order
to determine if the person in the camera is man or woman. Is there any
VHDL core capable of implementing this processing? Ideally I would try
to achieve real-time (delay = 1-2 sec) to decide if the picture shows
man or woman. The camera I have bought is the OV7670, which takes
640x480 pictures. Can it work or I need a megapixel camera? I have,
also, found a High Definition 14 MegaPixel USB camera from ebay, and I
want to interface it with Virtex 5. Is something feasible? Where to
start from? In the same FPGA I have to put, also, the core of the
neural network and the core of the serial interface, which will output
man or woman. I am thinking of CNN.
Thank you...

Anyone to help???

I doubt anyone here can.

It's all a very tall order and far easier to determine the user's map
reading skills to determine sex.


--
Mike Perkins
Video Solutions Ltd
www.videosolutions.ltd.uk

Sorry, I didn't understand.
 
On Saturday, February 23, 2019 at 3:29:34 PM UTC-5, Electronics_hobbyist wrote:
On Saturday, February 23, 2019 at 9:53:49 PM UTC+2, Mike Perkins wrote:
On 23/02/2019 19:35, Electronics_hobbyist wrote:
On Thursday, February 21, 2019 at 7:43:02 PM UTC+2, Electronics_hobbyist wrote:
Hello, I am trying to build a Neural Network on Xilinx Virtex 5, that I
will feed it with images from this camera: OV7670 and train it in order
to determine if the person in the camera is man or woman. Is there any
VHDL core capable of implementing this processing? Ideally I would try
to achieve real-time (delay = 1-2 sec) to decide if the picture shows
man or woman. The camera I have bought is the OV7670, which takes
640x480 pictures. Can it work or I need a megapixel camera? I have,
also, found a High Definition 14 MegaPixel USB camera from ebay, and I
want to interface it with Virtex 5. Is something feasible? Where to
start from? In the same FPGA I have to put, also, the core of the
neural network and the core of the serial interface, which will output
man or woman. I am thinking of CNN.
Thank you...

Anyone to help???

I doubt anyone here can.

It's all a very tall order and far easier to determine the user's map
reading skills to determine sex.


--
Mike Perkins
Video Solutions Ltd
www.videosolutions.ltd.uk

Sorry, I didn't understand.

The task you are describing is a complicated problem. It would normally done by first selecting a potential algorithm and writing it as a program to run on a PC from previously captured images. This would provide a useful debug environment and allow the algorithm to be evaluated and modified as needed to make it work. Then once an algorithm is working it can be coded on an FPGA.

The fact that you are asking for a "VHDL core" to do this shows you are not really prepared to even start on this job yet.

I assume this is a class assignment. Have you been given any information on the sort of tools and techniques you might used to achieve your goals? I would first review that to see if there are any likely algorithms you could use.

Rick C.
 
On Sunday, February 24, 2019 at 7:17:56 AM UTC+2, gnuarm.del...@gmail.com wrote:
On Saturday, February 23, 2019 at 3:29:34 PM UTC-5, Electronics_hobbyist wrote:
On Saturday, February 23, 2019 at 9:53:49 PM UTC+2, Mike Perkins wrote:
On 23/02/2019 19:35, Electronics_hobbyist wrote:
On Thursday, February 21, 2019 at 7:43:02 PM UTC+2, Electronics_hobbyist wrote:
Hello, I am trying to build a Neural Network on Xilinx Virtex 5, that I
will feed it with images from this camera: OV7670 and train it in order
to determine if the person in the camera is man or woman. Is there any
VHDL core capable of implementing this processing? Ideally I would try
to achieve real-time (delay = 1-2 sec) to decide if the picture shows
man or woman. The camera I have bought is the OV7670, which takes
640x480 pictures. Can it work or I need a megapixel camera? I have,
also, found a High Definition 14 MegaPixel USB camera from ebay, and I
want to interface it with Virtex 5. Is something feasible? Where to
start from? In the same FPGA I have to put, also, the core of the
neural network and the core of the serial interface, which will output
man or woman. I am thinking of CNN.
Thank you...

Anyone to help???

I doubt anyone here can.

It's all a very tall order and far easier to determine the user's map
reading skills to determine sex.


--
Mike Perkins
Video Solutions Ltd
www.videosolutions.ltd.uk

Sorry, I didn't understand.

The task you are describing is a complicated problem. It would normally done by first selecting a potential algorithm and writing it as a program to run on a PC from previously captured images. This would provide a useful debug environment and allow the algorithm to be evaluated and modified as needed to make it work. Then once an algorithm is working it can be coded on an FPGA.

The fact that you are asking for a "VHDL core" to do this shows you are not really prepared to even start on this job yet.

I assume this is a class assignment. Have you been given any information on the sort of tools and techniques you might used to achieve your goals? I would first review that to see if there are any likely algorithms you could use.

Rick C.

I have the freedom to choose any solution I prefer. I am thinking of Convolution Neural Networks as I have read papers about this. But, my main concern is that on FPGAs there is a memory bottleneck. On the same FPGA I should use a core for the camera, the NN core and the serial interface core that will output me the result. Is there any source/link/book that could help me on how to start?
 
On Thursday, February 21, 2019 at 7:43:02 PM UTC+2, Electronics_hobbyist wrote:
Hello, I am trying to build a Neural Network on Xilinx Virtex 5, that I
will feed it with images from this camera: OV7670 and train it in order
to determine if the person in the camera is man or woman. Is there any
VHDL core capable of implementing this processing? Ideally I would try
to achieve real-time (delay = 1-2 sec) to decide if the picture shows
man or woman. The camera I have bought is the OV7670, which takes
640x480 pictures. Can it work or I need a megapixel camera? I have,
also, found a High Definition 14 MegaPixel USB camera from ebay, and I
want to interface it with Virtex 5. Is something feasible? Where to
start from? In the same FPGA I have to put, also, the core of the
neural network and the core of the serial interface, which will output
man or woman. I am thinking of CNN.
Thank you...
 
On Sunday, February 24, 2019 at 5:43:13 AM UTC-5, Electronics_hobbyist wrote:
I have the freedom to choose any solution I prefer. I am thinking of Convolution Neural Networks as I have read papers about this. But, my main concern is that on FPGAs there is a memory bottleneck. On the same FPGA I should use a core for the camera, the NN core and the serial interface core that will output me the result. Is there any source/link/book that could help me on how to start?

Before you do any writing of code, you should plan how you are going to debug it, with "it" being each the algorithm and the implementation.

If you are just connecting prewritten modules there shouldn't be much need to study books other than language books. Do you know which language you will be using? What language are the modules written in?

Rick C.
 
On Sunday, February 24, 2019 at 4:56:02 PM UTC+2, gnuarm.del...@gmail.com wrote:
On Sunday, February 24, 2019 at 5:43:13 AM UTC-5, Electronics_hobbyist wrote:

I have the freedom to choose any solution I prefer. I am thinking of Convolution Neural Networks as I have read papers about this. But, my main concern is that on FPGAs there is a memory bottleneck. On the same FPGA I should use a core for the camera, the NN core and the serial interface core that will output me the result. Is there any source/link/book that could help me on how to start?

Before you do any writing of code, you should plan how you are going to debug it, with "it" being each the algorithm and the implementation.

If you are just connecting prewritten modules there shouldn't be much need to study books other than language books. Do you know which language you will be using? What language are the modules written in?

Rick C.

I have built it in python. But I will program it in VHDL for obvious reasons, i.e. faster decision of the NN if the person is man or woman...
 
On Sunday, February 24, 2019 at 11:59:47 AM UTC-5, Electronics_hobbyist wrote:
On Sunday, February 24, 2019 at 4:56:02 PM UTC+2, gnuarm.del...@gmail.com wrote:
On Sunday, February 24, 2019 at 5:43:13 AM UTC-5, Electronics_hobbyist wrote:

I have the freedom to choose any solution I prefer. I am thinking of Convolution Neural Networks as I have read papers about this. But, my main concern is that on FPGAs there is a memory bottleneck. On the same FPGA I should use a core for the camera, the NN core and the serial interface core that will output me the result. Is there any source/link/book that could help me on how to start?

Before you do any writing of code, you should plan how you are going to debug it, with "it" being each the algorithm and the implementation.

If you are just connecting prewritten modules there shouldn't be much need to study books other than language books. Do you know which language you will be using? What language are the modules written in?

Rick C.

I have built it in python. But I will program it in VHDL for obvious reasons, i.e. faster decision of the NN if the person is man or woman...

Have you programmed in VHDL before?

Rick C.
 
On Sunday, February 24, 2019 at 9:11:34 PM UTC+2, gnuarm.del...@gmail.com wrote:
On Sunday, February 24, 2019 at 11:59:47 AM UTC-5, Electronics_hobbyist wrote:
On Sunday, February 24, 2019 at 4:56:02 PM UTC+2, gnuarm.del...@gmail.com wrote:
On Sunday, February 24, 2019 at 5:43:13 AM UTC-5, Electronics_hobbyist wrote:

I have the freedom to choose any solution I prefer. I am thinking of Convolution Neural Networks as I have read papers about this. But, my main concern is that on FPGAs there is a memory bottleneck. On the same FPGA I should use a core for the camera, the NN core and the serial interface core that will output me the result. Is there any source/link/book that could help me on how to start?

Before you do any writing of code, you should plan how you are going to debug it, with "it" being each the algorithm and the implementation.

If you are just connecting prewritten modules there shouldn't be much need to study books other than language books. Do you know which language you will be using? What language are the modules written in?

Rick C.

I have built it in python. But I will program it in VHDL for obvious reasons, i.e. faster decision of the NN if the person is man or woman...

Have you programmed in VHDL before?

Rick C.

Yes, many times, from simple digital design to FSMs. But first time I will program Neural Networks.
 
On Sunday, February 24, 2019 at 4:09:14 PM UTC-5, Electronics_hobbyist wrote:
On Sunday, February 24, 2019 at 9:11:34 PM UTC+2, gnuarm.del...@gmail.com wrote:
On Sunday, February 24, 2019 at 11:59:47 AM UTC-5, Electronics_hobbyist wrote:
On Sunday, February 24, 2019 at 4:56:02 PM UTC+2, gnuarm.del...@gmail..com wrote:
On Sunday, February 24, 2019 at 5:43:13 AM UTC-5, Electronics_hobbyist wrote:

I have the freedom to choose any solution I prefer. I am thinking of Convolution Neural Networks as I have read papers about this. But, my main concern is that on FPGAs there is a memory bottleneck. On the same FPGA I should use a core for the camera, the NN core and the serial interface core that will output me the result. Is there any source/link/book that could help me on how to start?

Before you do any writing of code, you should plan how you are going to debug it, with "it" being each the algorithm and the implementation.

If you are just connecting prewritten modules there shouldn't be much need to study books other than language books. Do you know which language you will be using? What language are the modules written in?

Rick C.

I have built it in python. But I will program it in VHDL for obvious reasons, i.e. faster decision of the NN if the person is man or woman...

Have you programmed in VHDL before?

Rick C.

Yes, many times, from simple digital design to FSMs. But first time I will program Neural Networks.

Ok, so the issues you face should be similar to the issues of using Neural Networks in python.

Of course, you will need to structure the algorithm to utilize parallelism to fully exploit the speed advantages of hardware.

Rick C.
 
On Monday, February 25, 2019 at 1:42:03 AM UTC+2, gnuarm.del...@gmail.com wrote:
On Sunday, February 24, 2019 at 4:09:14 PM UTC-5, Electronics_hobbyist wrote:
On Sunday, February 24, 2019 at 9:11:34 PM UTC+2, gnuarm.del...@gmail.com wrote:
On Sunday, February 24, 2019 at 11:59:47 AM UTC-5, Electronics_hobbyist wrote:
On Sunday, February 24, 2019 at 4:56:02 PM UTC+2, gnuarm.del...@gmail.com wrote:
On Sunday, February 24, 2019 at 5:43:13 AM UTC-5, Electronics_hobbyist wrote:

I have the freedom to choose any solution I prefer. I am thinking of Convolution Neural Networks as I have read papers about this. But, my main concern is that on FPGAs there is a memory bottleneck. On the same FPGA I should use a core for the camera, the NN core and the serial interface core that will output me the result. Is there any source/link/book that could help me on how to start?

Before you do any writing of code, you should plan how you are going to debug it, with "it" being each the algorithm and the implementation.

If you are just connecting prewritten modules there shouldn't be much need to study books other than language books. Do you know which language you will be using? What language are the modules written in?

Rick C.

I have built it in python. But I will program it in VHDL for obvious reasons, i.e. faster decision of the NN if the person is man or woman...

Have you programmed in VHDL before?

Rick C.

Yes, many times, from simple digital design to FSMs. But first time I will program Neural Networks.

Ok, so the issues you face should be similar to the issues of using Neural Networks in python.

Of course, you will need to structure the algorithm to utilize parallelism to fully exploit the speed advantages of hardware.

Rick C.

Is there a helpful book/source I could start with?
 
On Monday, February 25, 2019 at 3:01:50 PM UTC-6, Electronics_hobbyist wrote:
On Monday, February 25, 2019 at 1:42:03 AM UTC+2, gnuarm.del...@gmail.com wrote:
On Sunday, February 24, 2019 at 4:09:14 PM UTC-5, Electronics_hobbyist wrote:
On Sunday, February 24, 2019 at 9:11:34 PM UTC+2, gnuarm.del...@gmail..com wrote:
On Sunday, February 24, 2019 at 11:59:47 AM UTC-5, Electronics_hobbyist wrote:
On Sunday, February 24, 2019 at 4:56:02 PM UTC+2, gnuarm.del...@gmail.com wrote:
On Sunday, February 24, 2019 at 5:43:13 AM UTC-5, Electronics_hobbyist wrote:

I have the freedom to choose any solution I prefer. I am thinking of Convolution Neural Networks as I have read papers about this. But, my main concern is that on FPGAs there is a memory bottleneck. On the same FPGA I should use a core for the camera, the NN core and the serial interface core that will output me the result. Is there any source/link/book that could help me on how to start?

Before you do any writing of code, you should plan how you are going to debug it, with "it" being each the algorithm and the implementation.

If you are just connecting prewritten modules there shouldn't be much need to study books other than language books. Do you know which language you will be using? What language are the modules written in?

Rick C.

I have built it in python. But I will program it in VHDL for obvious reasons, i.e. faster decision of the NN if the person is man or woman....

Have you programmed in VHDL before?

Rick C.

Yes, many times, from simple digital design to FSMs. But first time I will program Neural Networks.

Ok, so the issues you face should be similar to the issues of using Neural Networks in python.

Of course, you will need to structure the algorithm to utilize parallelism to fully exploit the speed advantages of hardware.

Rick C.

Is there a helpful book/source I could start with?

What exactly do you want help with? What sort of book are you looking for?

Rick C.
 
Sample code on VHDL, about Neural Networks, that is working. So I can start from somewhere to build something. From theory to practice there is a huge gap without help..

Thank you.
 
On Tuesday, February 26, 2019 at 2:57:16 AM UTC-6, Electronics_hobbyist wrote:
> Sample code on VHDL, about Neural Networks, that is working. So I can start from somewhere to build something. From theory to practice there is a huge gap without help..

VHDL and Neural Networks are two totally different things. There is no need to combine them into one topic for study. If you have a working algorithm in another language, you don't really need to consider the Neural Networks so much. You just need to port that algorithm to VHDL like you would any algorithm. So I don't think you need or will find a book on this exact topic.

The things you will need to pay attention to are how you will adjust the algorithm to suit the inherent parallelism available in hardware and how you will debug the implementation, both in simulation and in the hardware.

Have you given this any thought? If you have questions you can ask here.

Rick C.
 

Welcome to EDABoard.com

Sponsor

Back
Top