Giter VIP home page Giter VIP logo

ffcnn's People

Contributors

rockcarry 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ffcnn's Issues

编译bug

>> bash build.sh
ffcnn.c: In function ‘net_load’: ffcnn.c:216:96: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] if ((fp = fopen(fweights, "rb"))) { fseek (fp, sizeof(WEIGHTS_FILE_HEADER), SEEK_SET); fread (net->weight_buf, 1, net->weight_size * sizeof(float), fp); fclose(fp); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ffcnn.c: In function ‘load_file_to_buffer’: ffcnn.c:27:16: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] if (buf) { fread(buf, 1, size, fp); buf[size] = '\0'; } ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/ccOQFshr.o: In function `net_forward.part.7': ffcnn.c:(.text+0x154d): undefined reference to `exp' ffcnn.c:(.text+0x2157): undefined reference to `exp' ffcnn.c:(.text+0x2377): undefined reference to `exp' ffcnn.c:(.text+0x2397): undefined reference to `exp' ffcnn.c:(.text+0x24ad): undefined reference to `exp' /tmp/ccOQFshr.o:ffcnn.c:(.text+0x24e1): more undefined references to `exp' follow collect2: error: ld returned 1 exit status

System info: gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)

修改build.sh为gcc -Wall -O3 bmpfile.c ffcnn.c -o ffcnn -lm可以编译通过。

调整图片大小的参数?

调整图片test.bmp大小的参数在哪里? 是不是你训练的时候是固定的,所以不能改,只能输入640 424的大小?
谢谢

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.