Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple code has an issue #2

Open
shersoni610 opened this issue Nov 11, 2023 · 0 comments
Open

Simple code has an issue #2

shersoni610 opened this issue Nov 11, 2023 · 0 comments

Comments

@shersoni610
Copy link

Hello,

I am trying to test the code snippet posted on the web. However, I get the following error:

Labeling ../../People/cussion-with-a-colleague-in-an-office-characteristics-of-a-determined-person.j
Traceback (most recent call last):
File "/media/M2Disk/Projects/CompVis/ObjectDetection/AutoDistill/GPT4/autodistill-gpt-4v/genlabels.py", line 10, in
base_model.label(input_folder=folder_name, output_folder='mldata')
File "/media/M2Disk/Projects/CompVis/ObjectDetection/AutoDistill/autodistillenv/lib/python3.11/site-packages/autodistill/detection/detection_base_model.py", line 52, in label
detections = self.predict(f_path)
^^^^^^^^^^^^^^^^^^^^
TypeError: GPT4V.predict() missing 1 required positional argument: 'classes'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant