Coder Social home page Coder Social logo

F1103 20:53:52.339550 156870 io.cpp:63] Check failed: fd != -1 (-1 vs. -1) File not found: ../models/VOC300TRAINED_4e04e3.caffemodel about des HOT 4 CLOSED

taomrzhang avatar taomrzhang commented on June 25, 2024
F1103 20:53:52.339550 156870 io.cpp:63] Check failed: fd != -1 (-1 vs. -1) File not found: ../models/VOC300TRAINED_4e04e3.caffemodel

from des.

Comments (4)

bairdzhang avatar bairdzhang commented on June 25, 2024

Hi, please download the pre-trained model https://github.com/bairdzhang/des/blob/des/initial_models/VOC300TRAINED_4e04e3.caffemodel and change the --weights= option in DES300x300.sh to specify that pre-trained model.

from des.

taomrzhang avatar taomrzhang commented on June 25, 2024

Hi, please download the pre-trained model https://github.com/bairdzhang/des/blob/des/initial_models/VOC300TRAINED_4e04e3.caffemodel and change the --weights= option in DES300x300.sh to specify that pre-trained model.

I am sorry I can not solve it. when I put 'VOC300TRAINED_4e04e3.caffemodel' in ../models or ../models/VGGNet, I met the same error again. and in DES300*300.sh the --weights="../models/VOC300TRAINED_4e04e3.caffemodel" \
thank you

from des.

bairdzhang avatar bairdzhang commented on June 25, 2024

In jobs/VGGNet/VOC0712/DES300x300/DES300x300.sh, it first enter the root folder of this repo (/workspace/release/caffe-ssd as the example shell script), and run ./build/tools/caffe with the pre-trained model ../models/VOC300TRAINED_4e04e3.caffemodel.
I guess the path (../models/VOC300TRAINED_4e04e3.caffemodel) is based on the current work folder, which is /workspace/release/caffe-ssd, so the pre-trained model should be located in /workspace/release/model/VOC300TRAINED_4e04e3.caffemodel.

A safe way is to try the absolute path of the pre-trained model in the shell script.

from des.

taomrzhang avatar taomrzhang commented on June 25, 2024

In jobs/VGGNet/VOC0712/DES300x300/DES300x300.sh, it first enter the root folder of this repo (/workspace/release/caffe-ssd as the example shell script), and run ./build/tools/caffe with the pre-trained model ../models/VOC300TRAINED_4e04e3.caffemodel.
I guess the path (../models/VOC300TRAINED_4e04e3.caffemodel) is based on the current work folder, which is /workspace/release/caffe-ssd, so the pre-trained model should be located in /workspace/release/model/VOC300TRAINED_4e04e3.caffemodel.

A safe way is to try the absolute path of the pre-trained model in the shell script.

thank you very much. I have solved it in that way.

from des.

Related Issues (3)

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.