Git Product home page Git Product logo

Comments (4)

Relja avatar Relja commented on July 29, 2024

Hi,
The code is trying to create the file and write features to it. I'm not exactly sure because of Chinese but it seems it fails at fopen in write mode, or fails to write to the opened file. Are you sure you have disk space and write permission to the folder you are trying to write to? Maybe you didn't set up the outPath correctly? I don't know if matlab has some issues with non-unicode characters, though nobody complained about that so far.

from netvlad.

ionLi avatar ionLi commented on July 29, 2024

I think it fails because there is not a file called vd16_tokyoTM_conv5_3_vlad_preL2_intra_white_tokyo247_db.bin, this file is be created by the code "dbFeatFn= sprintf('%s%s_%s_db.bin', paths.outPrefix, netID, dbTest.name);",which in the demo.m
I don't find the introduction about this file. So should I proactively create this file manually in the corresponding path?

from netvlad.

Relja avatar Relja commented on July 29, 2024

dbFeatFn= sprintf('%s%s_%s_db.bin', paths.outPrefix, netID, dbTest.name) doesn't create the file, it makes the name of the file. This file is then being created by the serialAllFeats function. This line in the function creates the file and opens it for writing, and this line tries to write to it.
I just noticed your log says the line fwrite(fout, buffer(:, 1:numInBuffer), class(buffer)); is number 79 while it is actually line number 81 in the original file - did you delete some code?

from netvlad.

ionLi avatar ionLi commented on July 29, 2024

Ok, thinks , I think it's probably I don't give the permission to create the new folder. Thank you very much.

from netvlad.

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.