Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 250, in predict
- self.predictor.setup_model(model=self.model, verbose=is_cli)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
- self.model = AutoBackend(model,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 94, in __init__
- model = model.fuse(verbose=verbose) if fuse else model
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 134, in fuse
- delattr(m, 'bn') # remove batchnorm
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1685, in __delattr__
- super().__delattr__(name)
- AttributeError: bn
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 250, in predict
- self.predictor.setup_model(model=self.model, verbose=is_cli)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
- self.model = AutoBackend(model,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 94, in __init__
- model = model.fuse(verbose=verbose) if fuse else model
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 134, in fuse
- delattr(m, 'bn') # remove batchnorm
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1685, in __delattr__
- super().__delattr__(name)
- AttributeError: bn
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 250, in predict
- self.predictor.setup_model(model=self.model, verbose=is_cli)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
- self.model = AutoBackend(model,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 94, in __init__
- model = model.fuse(verbose=verbose) if fuse else model
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 134, in fuse
- delattr(m, 'bn') # remove batchnorm
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1685, in __delattr__
- super().__delattr__(name)
- AttributeError: bn
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 250, in predict
- self.predictor.setup_model(model=self.model, verbose=is_cli)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
- self.model = AutoBackend(model,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 94, in __init__
- model = model.fuse(verbose=verbose) if fuse else model
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 134, in fuse
- delattr(m, 'bn') # remove batchnorm
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1685, in __delattr__
- super().__delattr__(name)
- AttributeError: bn
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 250, in predict
- self.predictor.setup_model(model=self.model, verbose=is_cli)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
- self.model = AutoBackend(model,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 94, in __init__
- model = model.fuse(verbose=verbose) if fuse else model
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 134, in fuse
- delattr(m, 'bn') # remove batchnorm
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1685, in __delattr__
- super().__delattr__(name)
- AttributeError: bn
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 250, in predict
- self.predictor.setup_model(model=self.model, verbose=is_cli)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
- self.model = AutoBackend(model,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 94, in __init__
- model = model.fuse(verbose=verbose) if fuse else model
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 134, in fuse
- delattr(m, 'bn') # remove batchnorm
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1685, in __delattr__
- super().__delattr__(name)
- AttributeError: bn
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 250, in predict
- self.predictor.setup_model(model=self.model, verbose=is_cli)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
- self.model = AutoBackend(model,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 94, in __init__
- model = model.fuse(verbose=verbose) if fuse else model
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 134, in fuse
- delattr(m, 'bn') # remove batchnorm
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1685, in __delattr__
- super().__delattr__(name)
- AttributeError: bn
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 250, in predict
- self.predictor.setup_model(model=self.model, verbose=is_cli)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
- self.model = AutoBackend(model,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 94, in __init__
- model = model.fuse(verbose=verbose) if fuse else model
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 134, in fuse
- delattr(m, 'bn') # remove batchnorm
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1685, in __delattr__
- super().__delattr__(name)
- AttributeError: bn
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 250, in predict
- self.predictor.setup_model(model=self.model, verbose=is_cli)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
- self.model = AutoBackend(model,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 94, in __init__
- model = model.fuse(verbose=verbose) if fuse else model
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 134, in fuse
- delattr(m, 'bn') # remove batchnorm
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1685, in __delattr__
- super().__delattr__(name)
- AttributeError: bn
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 250, in predict
- self.predictor.setup_model(model=self.model, verbose=is_cli)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
- self.model = AutoBackend(model,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 94, in __init__
- model = model.fuse(verbose=verbose) if fuse else model
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 134, in fuse
- delattr(m, 'bn') # remove batchnorm
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1685, in __delattr__
- super().__delattr__(name)
- AttributeError: bn
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 250, in predict
- self.predictor.setup_model(model=self.model, verbose=is_cli)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
- self.model = AutoBackend(model,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 94, in __init__
- model = model.fuse(verbose=verbose) if fuse else model
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 134, in fuse
- delattr(m, 'bn') # remove batchnorm
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1685, in __delattr__
- super().__delattr__(name)
- AttributeError: bn
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 250, in predict
- self.predictor.setup_model(model=self.model, verbose=is_cli)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
- self.model = AutoBackend(model,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 94, in __init__
- model = model.fuse(verbose=verbose) if fuse else model
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 134, in fuse
- delattr(m, 'bn') # remove batchnorm
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1685, in __delattr__
- super().__delattr__(name)
- AttributeError: bn
- Ultralytics YOLOv8.0.117 π Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/block.py", line 180, in forward
- y = list(self.cv1(x).chunk(2, 1))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: CUDA error: an illegal memory access was encountered
- CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
- For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
- Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: cuDNN error: CUDNN_STATUS_INTERNAL_ERROR
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 213, in stream_inference
- self.setup_model(model)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
- self.model = AutoBackend(model,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 104, in __init__
- model = attempt_load_weights(weights if isinstance(weights, list) else w,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 546, in attempt_load_weights
- ensemble.append(model.fuse().eval() if fuse and hasattr(model, 'fuse') else model.eval()) # model in eval mode
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 133, in fuse
- m.conv = fuse_conv_and_bn(m.conv, m.bn) # update conv
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/utils/torch_utils.py", line 132, in fuse_conv_and_bn
- b_bn = bn.bias - bn.weight.mul(bn.running_mean).div(torch.sqrt(bn.running_var + bn.eps))
- RuntimeError: CUDA error: an illegal memory access was encountered
- CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
- For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
- Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 213, in stream_inference
- self.setup_model(model)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
- self.model = AutoBackend(model,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 104, in __init__
- model = attempt_load_weights(weights if isinstance(weights, list) else w,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 546, in attempt_load_weights
- ensemble.append(model.fuse().eval() if fuse and hasattr(model, 'fuse') else model.eval()) # model in eval mode
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 133, in fuse
- m.conv = fuse_conv_and_bn(m.conv, m.bn) # update conv
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/utils/torch_utils.py", line 133, in fuse_conv_and_bn
- fusedconv.bias.copy_(torch.mm(w_bn, b_conv.reshape(-1, 1)).reshape(-1) + b_bn)
- RuntimeError: CUDA error: an illegal memory access was encountered
- CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
- For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
- Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 213, in stream_inference
- self.setup_model(model)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
- self.model = AutoBackend(model,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 104, in __init__
- model = attempt_load_weights(weights if isinstance(weights, list) else w,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 546, in attempt_load_weights
- ensemble.append(model.fuse().eval() if fuse and hasattr(model, 'fuse') else model.eval()) # model in eval mode
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 133, in fuse
- m.conv = fuse_conv_and_bn(m.conv, m.bn) # update conv
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/utils/torch_utils.py", line 132, in fuse_conv_and_bn
- b_bn = bn.bias - bn.weight.mul(bn.running_mean).div(torch.sqrt(bn.running_var + bn.eps))
- RuntimeError: CUDA error: an illegal memory access was encountered
- CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
- For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
- Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 213, in stream_inference
- self.setup_model(model)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
- self.model = AutoBackend(model,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 104, in __init__
- model = attempt_load_weights(weights if isinstance(weights, list) else w,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 546, in attempt_load_weights
- ensemble.append(model.fuse().eval() if fuse and hasattr(model, 'fuse') else model.eval()) # model in eval mode
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 133, in fuse
- m.conv = fuse_conv_and_bn(m.conv, m.bn) # update conv
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/utils/torch_utils.py", line 123, in fuse_conv_and_bn
- bias=True).requires_grad_(False).to(conv.weight.device)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1145, in to
- return self._apply(convert)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 820, in _apply
- param_applied = fn(param)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1143, in convert
- return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
- RuntimeError: CUDA error: an illegal memory access was encountered
- CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
- For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
- Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 213, in stream_inference
- self.setup_model(model)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
- self.model = AutoBackend(model,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 104, in __init__
- model = attempt_load_weights(weights if isinstance(weights, list) else w,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 546, in attempt_load_weights
- ensemble.append(model.fuse().eval() if fuse and hasattr(model, 'fuse') else model.eval()) # model in eval mode
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 133, in fuse
- m.conv = fuse_conv_and_bn(m.conv, m.bn) # update conv
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/utils/torch_utils.py", line 133, in fuse_conv_and_bn
- fusedconv.bias.copy_(torch.mm(w_bn, b_conv.reshape(-1, 1)).reshape(-1) + b_bn)
- RuntimeError: CUDA error: an illegal memory access was encountered
- CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
- For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
- Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 213, in stream_inference
- self.setup_model(model)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
- self.model = AutoBackend(model,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 104, in __init__
- model = attempt_load_weights(weights if isinstance(weights, list) else w,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 546, in attempt_load_weights
- ensemble.append(model.fuse().eval() if fuse and hasattr(model, 'fuse') else model.eval()) # model in eval mode
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 133, in fuse
- m.conv = fuse_conv_and_bn(m.conv, m.bn) # update conv
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/utils/torch_utils.py", line 126, in fuse_conv_and_bn
- w_conv = conv.weight.clone().view(conv.out_channels, -1)
- RuntimeError: CUDA error: an illegal memory access was encountered
- CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
- For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
- Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
- Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/block.py", line 180, in forward
- y = list(self.cv1(x).chunk(2, 1))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: CUDA error: an illegal memory access was encountered
- CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
- For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
- Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 213, in stream_inference
- self.setup_model(model)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
- self.model = AutoBackend(model,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 104, in __init__
- model = attempt_load_weights(weights if isinstance(weights, list) else w,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 546, in attempt_load_weights
- ensemble.append(model.fuse().eval() if fuse and hasattr(model, 'fuse') else model.eval()) # model in eval mode
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 133, in fuse
- m.conv = fuse_conv_and_bn(m.conv, m.bn) # update conv
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/utils/torch_utils.py", line 123, in fuse_conv_and_bn
- bias=True).requires_grad_(False).to(conv.weight.device)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1145, in to
- return self._apply(convert)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 820, in _apply
- param_applied = fn(param)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1143, in convert
- return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
- RuntimeError: CUDA error: an illegal memory access was encountered
- CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
- For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
- Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/block.py", line 180, in forward
- y = list(self.cv1(x).chunk(2, 1))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: CUDA error: an illegal memory access was encountered
- CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
- For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
- Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/block.py", line 180, in forward
- y = list(self.cv1(x).chunk(2, 1))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/block.py", line 180, in forward
- y = list(self.cv1(x).chunk(2, 1))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 213, in stream_inference
- self.setup_model(model)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
- self.model = AutoBackend(model,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 104, in __init__
- model = attempt_load_weights(weights if isinstance(weights, list) else w,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 546, in attempt_load_weights
- ensemble.append(model.fuse().eval() if fuse and hasattr(model, 'fuse') else model.eval()) # model in eval mode
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 133, in fuse
- m.conv = fuse_conv_and_bn(m.conv, m.bn) # update conv
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/utils/torch_utils.py", line 123, in fuse_conv_and_bn
- bias=True).requires_grad_(False).to(conv.weight.device)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1145, in to
- return self._apply(convert)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 820, in _apply
- param_applied = fn(param)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1143, in convert
- return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
- RuntimeError: CUDA error: an illegal memory access was encountered
- CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
- For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
- Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: cuDNN error: CUDNN_STATUS_INTERNAL_ERROR
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 213, in stream_inference
- self.setup_model(model)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
- self.model = AutoBackend(model,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 104, in __init__
- model = attempt_load_weights(weights if isinstance(weights, list) else w,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 546, in attempt_load_weights
- ensemble.append(model.fuse().eval() if fuse and hasattr(model, 'fuse') else model.eval()) # model in eval mode
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 133, in fuse
- m.conv = fuse_conv_and_bn(m.conv, m.bn) # update conv
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/utils/torch_utils.py", line 123, in fuse_conv_and_bn
- bias=True).requires_grad_(False).to(conv.weight.device)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1145, in to
- return self._apply(convert)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 820, in _apply
- param_applied = fn(param)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1143, in convert
- return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
- RuntimeError: CUDA error: an illegal memory access was encountered
- CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
- For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
- Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/block.py", line 180, in forward
- y = list(self.cv1(x).chunk(2, 1))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: cuDNN error: CUDNN_STATUS_INTERNAL_ERROR
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: CUDA error: an illegal memory access was encountered
- CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
- For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
- Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: CUDA error: an illegal memory access was encountered
- CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
- For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
- Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 213, in stream_inference
- self.setup_model(model)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
- self.model = AutoBackend(model,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 104, in __init__
- model = attempt_load_weights(weights if isinstance(weights, list) else w,
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 546, in attempt_load_weights
- ensemble.append(model.fuse().eval() if fuse and hasattr(model, 'fuse') else model.eval()) # model in eval mode
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 133, in fuse
- m.conv = fuse_conv_and_bn(m.conv, m.bn) # update conv
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/utils/torch_utils.py", line 123, in fuse_conv_and_bn
- bias=True).requires_grad_(False).to(conv.weight.device)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1145, in to
- return self._apply(convert)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 820, in _apply
- param_applied = fn(param)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1143, in convert
- return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
- RuntimeError: CUDA error: an illegal memory access was encountered
- CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
- For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
- Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: CUDA error: an illegal memory access was encountered
- CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
- For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
- Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/block.py", line 180, in forward
- y = list(self.cv1(x).chunk(2, 1))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: CUDA error: an illegal memory access was encountered
- CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
- For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
- Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/block.py", line 180, in forward
- y = list(self.cv1(x).chunk(2, 1))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/block.py", line 180, in forward
- y = list(self.cv1(x).chunk(2, 1))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: CUDA error: an illegal memory access was encountered
- CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
- For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
- Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: cuDNN error: CUDNN_STATUS_INTERNAL_ERROR
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/block.py", line 180, in forward
- y = list(self.cv1(x).chunk(2, 1))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: cuDNN error: CUDNN_STATUS_INTERNAL_ERROR
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: CUDA error: an illegal memory access was encountered
- CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
- For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
- Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: cuDNN error: CUDNN_STATUS_INTERNAL_ERROR
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: CUDA error: an illegal memory access was encountered
- CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
- For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
- Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: cuDNN error: CUDNN_STATUS_INTERNAL_ERROR
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: cuDNN error: CUDNN_STATUS_INTERNAL_ERROR
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/block.py", line 180, in forward
- y = list(self.cv1(x).chunk(2, 1))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/block.py", line 180, in forward
- y = list(self.cv1(x).chunk(2, 1))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: cuDNN error: CUDNN_STATUS_INTERNAL_ERROR
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/block.py", line 180, in forward
- y = list(self.cv1(x).chunk(2, 1))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/block.py", line 180, in forward
- y = list(self.cv1(x).chunk(2, 1))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/block.py", line 180, in forward
- y = list(self.cv1(x).chunk(2, 1))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/workspace/main.py", line 45, in home
- "predictions": predict_single_image(image_url),
- File "/workspace/main.py", line 20, in predict_single_image
- results = model(image_url)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
- return self.predict(source, stream, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
- return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
- return list(self.stream_inference(source, model)) # merge list of Result into one
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
- response = gen.send(None)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
- self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
- self.forward(im) # warmup
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
- y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
- return self.predict(x, *args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
- return self._predict_once(x, profile, visualize)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
- x = m(x) # run
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
- return self.act(self.conv(x))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
- return self._conv_forward(input, self.weight, self.bias)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
- return F.conv2d(input, weight, bias, self.stride,
- RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement