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

triton is string #6

Open
Maybe1297 opened this issue Nov 25, 2024 · 0 comments
Open

triton is string #6

Maybe1297 opened this issue Nov 25, 2024 · 0 comments

Comments

@Maybe1297
Copy link

WARNING ⚠️ Unable to automatically guess model task, assuming 'task=detect'. Explicitly define task for your model, i.e. 'task=detect', 'segment', 'classify', or 'pose'.
WARNING ⚠️ Unable to automatically guess model task, assuming 'task=detect'. Explicitly define task for your model, i.e. 'task=detect', 'segment', 'classify', or 'pose'.
0%| | 0/3 [00:03<?, ?it/s]
Traceback (most recent call last):
File "/media/zwh/yx/marine-detect-main/inference.py", line 4, in
predict_on_images(
File "/media/zwh/yx/marine-detect-main/src/marine_detect/predict.py", line 123, in predict_on_images
results = model(
File "/home/a/miniconda3/envs/yolo_fish/lib/python3.10/site-packages/ultralytics/engine/model.py", line 101, in call
return self.predict(source, stream, **kwargs)
File "/home/a/miniconda3/envs/yolo_fish/lib/python3.10/site-packages/ultralytics/engine/model.py", line 235, in predict
self.predictor.setup_model(model=self.model, verbose=is_cli)
File "/home/a/miniconda3/envs/yolo_fish/lib/python3.10/site-packages/ultralytics/engine/predictor.py", line 311, in setup_model
self.model = AutoBackend(model or self.args.model,
File "/home/a/miniconda3/envs/yolo_fish/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)
File "/home/a/miniconda3/envs/yolo_fish/lib/python3.10/site-packages/ultralytics/nn/autobackend.py", line 97, in init
fp16 &= pt or jit or onnx or xml or engine or nn_module or triton # FP16
TypeError: unsupported operand type(s) for &=: 'bool' and 'str'

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