Giter Club home page Giter Club logo

Comments (4)

shen-727 avatar shen-727 commented on August 11, 2024 1

I had a similar problem, and it turned out that the LLAMA model was the wrong version. Perhaps you can check if the model version is v1.1.

from detgpt.

ontheway-arch avatar ontheway-arch commented on August 11, 2024

@shizhediao @hendrydong @pipilurj Can you answer this for me, thank you very much!

from detgpt.

pipilurj avatar pipilurj commented on August 11, 2024

Hi, thanks you very much for your interest! Could you please check whether the model parameters are correctly loaded? Are there any reported errors?

from detgpt.

ontheway-arch avatar ontheway-arch commented on August 11, 2024

loaded detector

Loading VIT
Loading VIT Done
Loading Q-Former
Loading Q-Former Done
Loading LLAMA
Loading checkpoint shards: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:52<00:00, 26.08s/it]
Loading LLAMA Done
Load 4 training prompts
Prompt Example
###Human: Describe this image in detail. ###Assistant:
Load BLIP2-LLM Checkpoint: ./output_models/task_tuned_linear_7b.pth
ckpt_path: ./output_models/task_tuned_linear_7b.pth


Initialization Finished

/data2/xingyc/anaconda3/envs/detgpt2/lib/python3.9/site-packages/gradio/outputs.py:43: UserWarning: Usage of gradio.outputs is deprecated, and will not be supported in the future, please import your components from gradio.components
warnings.warn(
/data2/xingyc/anaconda3/envs/detgpt2/lib/python3.9/site-packages/gradio/components.py:164: UserWarning: Unknown style parameter: full_width
warnings.warn(f"Unknown style parameter: {key}")
/data2/xingyc/anaconda3/envs/detgpt2/lib/python3.9/site-packages/gradio/components.py:164: UserWarning: Unknown style parameter: full_height
warnings.warn(f"Unknown style parameter: {key}")
Running on local URL: http://127.0.0.1:7860
system prompt: You must strictly answer the question step by step:
Step-1. describe the given image in detail.
Step-2. find all the objects related to user input, and concisely explain why these objects meet the requirement.
Step-3. list out all related objects existing in the image strictly as follows: <Therefore the answer is: [object_names]>.
Complete all 3 steps as detailed as possible.
You must finish the answer with complete sentences.
I want to have a cold beverage.


From run grounding, oringinal response message


No match found.

/data2/xingyc/anaconda3/envs/detgpt2/lib/python3.9/site-packages/transformers/modeling_utils.py:862: FutureWarning: The device argument is deprecated and will be removed in v5 of Transformers.
warnings.warn(
/data2/xingyc/anaconda3/envs/detgpt2/lib/python3.9/site-packages/torch/utils/checkpoint.py:25: UserWarning: None of the inputs have requires_grad=True. Gradients will be None
warnings.warn("None of the inputs have requires_grad=True. Gradients will be None")


Detector predicted phrases [] @pipilurj

from detgpt.

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.