Giter VIP home page Giter VIP logo

deploying_cnn_on_fpga_using_opencl's People

Contributors

er1cz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

deploying_cnn_on_fpga_using_opencl's Issues

warning when deploying in Intel Arria 10 soc

hello everyone, when deploying the object recognition application on the intel Arria 10 soc card,
I had to create the bitstream file for my card with the offline compiler, and then you did not include the make I use a make that I found in the intels examples.
when running the application on the map I get warnings about data alignment transfer from the host part to the FPGA part.
capture d ecran_2019-02-18_15-42-33
I saw in some forum that I can use the function posix_memalign, and looking in the project folders, I found the data alignment function of the host part:
`//////////////////////////////////////////
// Host allocation functions for alignment
//////////////////////////////////////////
// This is the minimum alignment requirement to ensure DMA can be used.
const unsigned AOCL_ALIGNMENT = 64;

#ifdef _WIN32 // Windows
void *alignedMalloc(size_t size) {
return _aligned_malloc (size, AOCL_ALIGNMENT);
}
void alignedFree(void * ptr) {
_aligned_free(ptr);
}
#else // Linux
void *alignedMalloc(size_t size) {
void *result = NULL;
int rc;
rc = posix_memalign (&result, AOCL_ALIGNMENT, size);
return rc;
}
void alignedFree(void * ptr) {
free (ptr);
}
#endif
`
but this function is not used in the main()
so, how can I remove these warning?
thanks for any help!

Generate aocx for my board

Hey guys.
I have the de1soc board and i like compile this CNN in my board.
For this, i need generate the aocx with my makefile.
How can I do this?

prediction result is tench

Hi

I tried to run your example on an Intel CPU. Using the version 1.3 OpenCL kernel, the prediction result is

predicted label: n01440764 tench, Tinca tinca

Could you please describe the process to convert an jpg image to a header file (e.g. dog.h) included in your main.cpp ?

Thank you for your attention

Segmentation Error

Hello , great work Er1CZ , thanks for this git repo, i get the following error can you please look in the error and guide me.
image

What should I replace dog.h and squeezenet_params.h with?

Hi, I am using your codes as reference to do my version of CNN, but I faced a problem when compiling the host program. In your host program, there are variables such as sample, conv1_weight used, but I noticed that these are declared in another 2 files, which are dog.h and squeezenet_params.h. Can anyone tell me what should I prepare if I need to do my own CNN for object detection? I want to do the similar thing for SqueezeDet, what are the steps I need to go through?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.