Skip to content

alecrimi/multimodal_model_medicare

Repository files navigation

Multi_Modal_Model test Medi-Care

Installation

Steps

  1. Clone the repository:

    git clone https://github.com/alecrimi/multi_model_medicare.git
    cd medi-care
  2. Set up a virtual environment (optional but recommended):

    python -m venv env
    source env/bin/activate  # On Windows use `env\Scripts\activate`
  3. Upgrade pip:

    pip install --upgrade pip
  4. Install the required libraries: Ensure you have a requirements.txt file and then run the following command to install all dependencies:

    pip install -r requirements.txt
  5. Install Git Large File Storage (LFS) if required:

    git lfs install

Starting the Inference

To start the inference, run the following commands in the terminal:

  1. Start the controller:

    python -m llava.serve.controller --host 0.0.0.0 --port 10008
  2. Start the model worker:

    python -m llava.serve.model_worker --host 0.0.0.0 --controller http://localhost:10008 --port 40000 --worker http://localhost:40000 --model-path /teamspace/studios/this_studio/Medi-Care/LLaVA-Med-weights --multi-modal --num-gpus 1
  3. Run the Gradio web server:

    python -m llava.serve.gradio_web_server --controller http://localhost:10008 --share

About

No description, website, or topics provided.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published