Hi,
I want to use multi-label image classification as described here in your docs.
However, when I use:
prodigy classify-images sunglasses_brands ./images -F recipe.py
I get the following error:
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "...prodigy/lib/python3.10/site-packages/prodigy/main.py", line 50, in
main()
File ".../prodigy/lib/python3.10/site-packages/prodigy/main.py", line 44, in main
controller = run_recipe(run_args)
File "cython_src/prodigy/cli.pyx", line 135, in prodigy.cli.run_recipe
File "cython_src/prodigy/core.pyx", line 155, in prodigy.core.Controller.from_components
File "cython_src/prodigy/core.pyx", line 307, in prodigy.core.Controller.init
File "cython_src/prodigy/components/stream.pyx", line 191, in prodigy.components.stream.Stream.is_empty
File "cython_src/prodigy/components/stream.pyx", line 230, in prodigy.components.stream.Stream.peek
File "cython_src/prodigy/components/stream.pyx", line 343, in prodigy.components.stream.Stream._get_from_iterator
File "cython_src/prodigy/components/source.pyx", line 755, in load_noop
File "cython_src/prodigy/components/source.pyx", line 109, in iter
File "cython_src/prodigy/components/source.pyx", line 110, in prodigy.components.source.Source.iter
File "cython_src/prodigy/components/source.pyx", line 365, in read
File "... recipe.py", line 16, in get_stream
stream = get_stream(source)
TypeError: classify_images..get_stream() takes 0 positional arguments but 1 was given
Could you please help with the same?
Thanks,
Akshay.