Code Monkey home page Code Monkey logo

Comments (5)

gessulat avatar gessulat commented on August 27, 2024

Hi Chinmaya,

it looks like you made breaking changes to the Makefile.
Prosit assumes that within the Docker container your model is at "/root/model_spectra/".
This is what happens in: https://github.com/kusterlab/prosit/blob/master/Makefile#L18
In your case it maps your MODEL_SPECTRA folder to /root/csbm/prosit/model_spectra.

The easiest way to prevent this error is to revert your changes made to your Makefile (and use our default version). Another option would be to change default paths inside the code, but I would not recommend that, because it may likely break other things.

from prosit.

chinmayaNK22 avatar chinmayaNK22 commented on August 27, 2024

from prosit.

gessulat avatar gessulat commented on August 27, 2024

Please understand that we cannot debug changes to our code that you made individually and that we don't have access to. We can only provide support for the published code as is.

Also please read and follow the steps described in the README carefully and refrain from making changes to the code or your root directory:

  1. Download the fragmentation and irt model (all files provided: config model and weight files) and save same somewhere. Let's assume the paths to those directories are /path/to/fragmentation_model/ and /path/to/irt_model/, respectively.
  2. Use the make server command
    make server MODEL_SPECTRA=/path/to/fragmentation_model/ MODEL_IRT=/path/to/irt_model/

The error you posted states that your model_spectra folder does not include a config.yml.
If the config.yml is in that folder with this exact name, the error will be different.

from prosit.

chinmayaNK22 avatar chinmayaNK22 commented on August 27, 2024

from prosit.

mezarino avatar mezarino commented on August 27, 2024

Hello both,

the issue is that in some of the Figshare pre-trained model folders, you guys accidentally use "model.yaml" for the extension instead of "model.yml" just change that using the mv or rename command in Linux. Then rerun make server... and problem solved.

Cheers!

from prosit.

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.