Giter Club home page Giter Club logo

Comments (4)

Jia-HongHenryLee avatar Jia-HongHenryLee commented on August 25, 2024

By the way, If i only want to compile example_cldnn.cpp (in tutorial folder), how to compile it? gcc example_cldnn.cpp -o example_cldnn ?
When i see the code of example_cldnn.cpp, I find that i don't have the files, conv1_weights.bin, fc1_weights.data..etc, how to get this files?

Thank you very much

from cldnn.

tponieck avatar tponieck commented on August 25, 2024

Hi Jia-HongHenryLee,
We didn't have your device id in our list of supported HW's. I've added it already. Thanks for pointing it out.
Regarding to your second question: you have to prepare your own files with data and pare it to cldnn format.

from cldnn.

Essenlin avatar Essenlin commented on August 25, 2024

Hi tponieck,
What conv1_weights.bin and fc1_weights.data is ? How can i prepare for it?

from cldnn.

tponieck avatar tponieck commented on August 25, 2024

You need to fill memory primitive with data based on weights layout i.e.:
layout conv1_weights_layout(data_type, format::bfyx,{ conv1_out_channels, input_channels, conv_krnl_size, conv_krnl_size });
bfyx means order will be:
output featre map - input feature map - height (spatial y) - width (spatial x)
data should be float precision
to get better understanding I recommend to follow test case: basic_ofm_wsiz3x2x2x1_in2x2x1_nopad from: https://github.com/intel/clDNN/blob/master/tests/test_cases/convolution_gpu_test.cpp

from cldnn.

Related Issues (20)

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.