You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'
The text was updated successfully, but these errors were encountered:
WARNING⚠️ Unable to automatically guess model task, assuming 'task=detect'. Explicitly define task for your model, i.e. 'task=detect', 'segment', 'classify', or 'pose'.⚠️ Unable to automatically guess model task, assuming 'task=detect'. Explicitly define task for your model, i.e. 'task=detect', 'segment', 'classify', or 'pose'.
WARNING
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'
The text was updated successfully, but these errors were encountered: