Giter Site home page Giter Site logo

Comments (3)

LLautenbacher avatar LLautenbacher commented on July 29, 2024

Hi, no, that is not expected. If you can, provide the Task IDs for your job, I can take a look.

from prosit.

courcelm avatar courcelm commented on July 29, 2024

Hello, thanks for your quick answer. I don't see the problem on your website but with my local deployment.

I started the Prosit server with this command:

docker run --gpus all -it
-v /mnt/projects/MC2021-09-20/prosit/prosit_non_tryptic_fragmentation/hla_hcd:/root/model_spectra/
-v /mnt/projects/MC2021-09-20/prosit/model_irt_prediction:/root/model_irt/
-e CUDA_VISIBLE_DEVICES=0
-p 5000:5000
prosit python3 -m prosit.server

I have this input file for prediction:

modified_sequence,collision_energy,precursor_charge
VDASIFKAW,30,2

Then I run the prediction with this command:

curl --form peptides=@peptidelist_1.csv http://127.0.0.1:5000/predict/generic

Each time I run it, I get a different result.

from prosit.

courcelm avatar courcelm commented on July 29, 2024

I found a previous report about this kind of issue with TF and Keras here:
keras-team/keras#12800

Here is how I fixed the issue for Prosit:

New Dockerfile:

FROM nvcr.io/nvidia/tensorflow:21.09-tf1-py3


RUN apt-get update -qq && \
    apt-get install -y \
            libhdf5-serial-dev \
    && rm -rf /var/lib/apt/lists/*


RUN pip install keras==2.2.4 h5py tables flask pyteomics lxml pandas

ENV KERAS_BACKEND=tensorflow
ENV TF_CPP_MIN_LOG_LEVEL=3
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8

ENV TF_DETERMINISTIC_OPS=1

ADD prosit/ /root/prosit
RUN cd /root/
WORKDIR /root/

I can now run Prosit on my NVIDIA Geforce RTX3070.

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.