Advertisement
kopyl

Untitled

Jun 14th, 2023
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 231.13 KB | None | 0 0
  1. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  2. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  3. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  4. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  5. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  6. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  7. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  8. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  9. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  10. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  11. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  12. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  13. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  14. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  15.  
  16. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  17.  
  18. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  19.  
  20. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  21.  
  22. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  23.  
  24. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  25.  
  26. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  27.  
  28. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  29.  
  30. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  31.  
  32. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  33. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  34. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  35.  
  36. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  37. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  38. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  39.  
  40. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  41. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  42. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  43.  
  44. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  45. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  46. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  47. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  48.  
  49. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  50. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  51. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  52.  
  53. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  54. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  55. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  56.  
  57. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  58. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  59. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  60.  
  61. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  62. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  63.  
  64. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  65. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  66.  
  67. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  68. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  69.  
  70. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  71. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  72.  
  73. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  74. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  75.  
  76. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  77. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  78.  
  79. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  80. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  81.  
  82. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  83. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  84.  
  85. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  86. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  87.  
  88. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  89. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  90.  
  91. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  92. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  93.  
  94. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  95. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  96.  
  97. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  98. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  99.  
  100. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  101. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  102.  
  103. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  104. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  105.  
  106. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  107. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  108.  
  109. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  110. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  111.  
  112. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  113. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  114.  
  115. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  116. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  117.  
  118. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  119. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  120.  
  121. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  122. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  123.  
  124. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  125. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  126.  
  127. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  128. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  129.  
  130. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  131. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  132.  
  133. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  134. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  135.  
  136. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  137. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  138.  
  139. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  140. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  141.  
  142. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  143. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  144.  
  145. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  146. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  147.  
  148. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  149. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  150.  
  151. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  152. https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  153.  
  154. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  155. Traceback (most recent call last):
  156. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  157. return self.wsgi_app(environ, start_response)
  158. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  159. response = self.handle_exception(e)
  160. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  161. response = self.full_dispatch_request()
  162. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  163. rv = self.handle_user_exception(e)
  164. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  165. rv = self.dispatch_request()
  166. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  167. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  168. File "/workspace/main.py", line 45, in home
  169. "predictions": predict_single_image(image_url),
  170. File "/workspace/main.py", line 20, in predict_single_image
  171. results = model(image_url)
  172. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  173. return self.predict(source, stream, **kwargs)
  174. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  175. return func(*args, **kwargs)
  176. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 250, in predict
  177. self.predictor.setup_model(model=self.model, verbose=is_cli)
  178. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
  179. self.model = AutoBackend(model,
  180. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 94, in __init__
  181. model = model.fuse(verbose=verbose) if fuse else model
  182. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 134, in fuse
  183. delattr(m, 'bn') # remove batchnorm
  184. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1685, in __delattr__
  185. super().__delattr__(name)
  186. AttributeError: bn
  187. Traceback (most recent call last):
  188. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  189. return self.wsgi_app(environ, start_response)
  190. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  191. response = self.handle_exception(e)
  192. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  193. response = self.full_dispatch_request()
  194. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  195. rv = self.handle_user_exception(e)
  196. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  197. rv = self.dispatch_request()
  198. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  199. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  200. File "/workspace/main.py", line 45, in home
  201. "predictions": predict_single_image(image_url),
  202. File "/workspace/main.py", line 20, in predict_single_image
  203. results = model(image_url)
  204. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  205. return self.predict(source, stream, **kwargs)
  206. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  207. return func(*args, **kwargs)
  208. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 250, in predict
  209. self.predictor.setup_model(model=self.model, verbose=is_cli)
  210. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
  211. self.model = AutoBackend(model,
  212. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 94, in __init__
  213. model = model.fuse(verbose=verbose) if fuse else model
  214. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 134, in fuse
  215. delattr(m, 'bn') # remove batchnorm
  216. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1685, in __delattr__
  217. super().__delattr__(name)
  218. AttributeError: bn
  219. Traceback (most recent call last):
  220. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  221. return self.wsgi_app(environ, start_response)
  222. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  223. response = self.handle_exception(e)
  224. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  225. response = self.full_dispatch_request()
  226. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  227. rv = self.handle_user_exception(e)
  228. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  229. rv = self.dispatch_request()
  230. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  231. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  232. File "/workspace/main.py", line 45, in home
  233. "predictions": predict_single_image(image_url),
  234. File "/workspace/main.py", line 20, in predict_single_image
  235. results = model(image_url)
  236. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  237. return self.predict(source, stream, **kwargs)
  238. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  239. return func(*args, **kwargs)
  240. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 250, in predict
  241. self.predictor.setup_model(model=self.model, verbose=is_cli)
  242. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
  243. self.model = AutoBackend(model,
  244. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 94, in __init__
  245. model = model.fuse(verbose=verbose) if fuse else model
  246. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 134, in fuse
  247. delattr(m, 'bn') # remove batchnorm
  248. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1685, in __delattr__
  249. super().__delattr__(name)
  250. AttributeError: bn
  251. Traceback (most recent call last):
  252. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  253. return self.wsgi_app(environ, start_response)
  254. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  255. response = self.handle_exception(e)
  256. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  257. response = self.full_dispatch_request()
  258. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  259. rv = self.handle_user_exception(e)
  260. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  261. rv = self.dispatch_request()
  262. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  263. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  264. File "/workspace/main.py", line 45, in home
  265. "predictions": predict_single_image(image_url),
  266. File "/workspace/main.py", line 20, in predict_single_image
  267. results = model(image_url)
  268. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  269. return self.predict(source, stream, **kwargs)
  270. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  271. return func(*args, **kwargs)
  272. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 250, in predict
  273. self.predictor.setup_model(model=self.model, verbose=is_cli)
  274. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
  275. self.model = AutoBackend(model,
  276. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 94, in __init__
  277. model = model.fuse(verbose=verbose) if fuse else model
  278. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 134, in fuse
  279. delattr(m, 'bn') # remove batchnorm
  280. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1685, in __delattr__
  281. super().__delattr__(name)
  282. AttributeError: bn
  283. Traceback (most recent call last):
  284. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  285. return self.wsgi_app(environ, start_response)
  286. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  287. response = self.handle_exception(e)
  288. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  289. response = self.full_dispatch_request()
  290. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  291. rv = self.handle_user_exception(e)
  292. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  293. rv = self.dispatch_request()
  294. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  295. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  296. File "/workspace/main.py", line 45, in home
  297. "predictions": predict_single_image(image_url),
  298. File "/workspace/main.py", line 20, in predict_single_image
  299. results = model(image_url)
  300. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  301. return self.predict(source, stream, **kwargs)
  302. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  303. return func(*args, **kwargs)
  304. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 250, in predict
  305. self.predictor.setup_model(model=self.model, verbose=is_cli)
  306. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
  307. self.model = AutoBackend(model,
  308. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 94, in __init__
  309. model = model.fuse(verbose=verbose) if fuse else model
  310. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 134, in fuse
  311. delattr(m, 'bn') # remove batchnorm
  312. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1685, in __delattr__
  313. super().__delattr__(name)
  314. AttributeError: bn
  315. Traceback (most recent call last):
  316. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  317. return self.wsgi_app(environ, start_response)
  318. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  319. response = self.handle_exception(e)
  320. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  321. response = self.full_dispatch_request()
  322. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  323. rv = self.handle_user_exception(e)
  324. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  325. rv = self.dispatch_request()
  326. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  327. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  328. File "/workspace/main.py", line 45, in home
  329. "predictions": predict_single_image(image_url),
  330. File "/workspace/main.py", line 20, in predict_single_image
  331. results = model(image_url)
  332. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  333. return self.predict(source, stream, **kwargs)
  334. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  335. return func(*args, **kwargs)
  336. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 250, in predict
  337. self.predictor.setup_model(model=self.model, verbose=is_cli)
  338. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
  339. self.model = AutoBackend(model,
  340. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 94, in __init__
  341. model = model.fuse(verbose=verbose) if fuse else model
  342. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 134, in fuse
  343. delattr(m, 'bn') # remove batchnorm
  344. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1685, in __delattr__
  345. super().__delattr__(name)
  346. AttributeError: bn
  347. Traceback (most recent call last):
  348. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  349. return self.wsgi_app(environ, start_response)
  350. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  351. response = self.handle_exception(e)
  352. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  353. response = self.full_dispatch_request()
  354. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  355. rv = self.handle_user_exception(e)
  356. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  357. rv = self.dispatch_request()
  358. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  359. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  360. File "/workspace/main.py", line 45, in home
  361. "predictions": predict_single_image(image_url),
  362. File "/workspace/main.py", line 20, in predict_single_image
  363. results = model(image_url)
  364. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  365. return self.predict(source, stream, **kwargs)
  366. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  367. return func(*args, **kwargs)
  368. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 250, in predict
  369. self.predictor.setup_model(model=self.model, verbose=is_cli)
  370. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
  371. self.model = AutoBackend(model,
  372. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 94, in __init__
  373. model = model.fuse(verbose=verbose) if fuse else model
  374. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 134, in fuse
  375. delattr(m, 'bn') # remove batchnorm
  376. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1685, in __delattr__
  377. super().__delattr__(name)
  378. AttributeError: bn
  379. Traceback (most recent call last):
  380. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  381. return self.wsgi_app(environ, start_response)
  382. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  383. response = self.handle_exception(e)
  384. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  385. response = self.full_dispatch_request()
  386. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  387. rv = self.handle_user_exception(e)
  388. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  389. rv = self.dispatch_request()
  390. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  391. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  392. File "/workspace/main.py", line 45, in home
  393. "predictions": predict_single_image(image_url),
  394. File "/workspace/main.py", line 20, in predict_single_image
  395. results = model(image_url)
  396. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  397. return self.predict(source, stream, **kwargs)
  398. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  399. return func(*args, **kwargs)
  400. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 250, in predict
  401. self.predictor.setup_model(model=self.model, verbose=is_cli)
  402. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
  403. self.model = AutoBackend(model,
  404. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 94, in __init__
  405. model = model.fuse(verbose=verbose) if fuse else model
  406. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 134, in fuse
  407. delattr(m, 'bn') # remove batchnorm
  408. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1685, in __delattr__
  409. super().__delattr__(name)
  410. AttributeError: bn
  411. Traceback (most recent call last):
  412. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  413. return self.wsgi_app(environ, start_response)
  414. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  415. response = self.handle_exception(e)
  416. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  417. response = self.full_dispatch_request()
  418. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  419. rv = self.handle_user_exception(e)
  420. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  421. rv = self.dispatch_request()
  422. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  423. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  424. File "/workspace/main.py", line 45, in home
  425. "predictions": predict_single_image(image_url),
  426. File "/workspace/main.py", line 20, in predict_single_image
  427. results = model(image_url)
  428. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  429. return self.predict(source, stream, **kwargs)
  430. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  431. return func(*args, **kwargs)
  432. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 250, in predict
  433. self.predictor.setup_model(model=self.model, verbose=is_cli)
  434. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
  435. self.model = AutoBackend(model,
  436. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 94, in __init__
  437. model = model.fuse(verbose=verbose) if fuse else model
  438. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 134, in fuse
  439. delattr(m, 'bn') # remove batchnorm
  440. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1685, in __delattr__
  441. super().__delattr__(name)
  442. AttributeError: bn
  443. Traceback (most recent call last):
  444. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  445. return self.wsgi_app(environ, start_response)
  446. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  447. response = self.handle_exception(e)
  448. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  449. response = self.full_dispatch_request()
  450. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  451. rv = self.handle_user_exception(e)
  452. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  453. rv = self.dispatch_request()
  454. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  455. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  456. File "/workspace/main.py", line 45, in home
  457. "predictions": predict_single_image(image_url),
  458. File "/workspace/main.py", line 20, in predict_single_image
  459. results = model(image_url)
  460. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  461. return self.predict(source, stream, **kwargs)
  462. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  463. return func(*args, **kwargs)
  464. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 250, in predict
  465. self.predictor.setup_model(model=self.model, verbose=is_cli)
  466. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
  467. self.model = AutoBackend(model,
  468. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 94, in __init__
  469. model = model.fuse(verbose=verbose) if fuse else model
  470. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 134, in fuse
  471. delattr(m, 'bn') # remove batchnorm
  472. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1685, in __delattr__
  473. super().__delattr__(name)
  474. AttributeError: bn
  475. Traceback (most recent call last):
  476. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  477. return self.wsgi_app(environ, start_response)
  478. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  479. response = self.handle_exception(e)
  480. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  481. response = self.full_dispatch_request()
  482. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  483. rv = self.handle_user_exception(e)
  484. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  485. rv = self.dispatch_request()
  486. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  487. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  488. File "/workspace/main.py", line 45, in home
  489. "predictions": predict_single_image(image_url),
  490. File "/workspace/main.py", line 20, in predict_single_image
  491. results = model(image_url)
  492. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  493. return self.predict(source, stream, **kwargs)
  494. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  495. return func(*args, **kwargs)
  496. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 250, in predict
  497. self.predictor.setup_model(model=self.model, verbose=is_cli)
  498. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
  499. self.model = AutoBackend(model,
  500. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 94, in __init__
  501. model = model.fuse(verbose=verbose) if fuse else model
  502. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 134, in fuse
  503. delattr(m, 'bn') # remove batchnorm
  504. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1685, in __delattr__
  505. super().__delattr__(name)
  506. AttributeError: bn
  507. Traceback (most recent call last):
  508. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  509. return self.wsgi_app(environ, start_response)
  510. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  511. response = self.handle_exception(e)
  512. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  513. response = self.full_dispatch_request()
  514. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  515. rv = self.handle_user_exception(e)
  516. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  517. rv = self.dispatch_request()
  518. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  519. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  520. File "/workspace/main.py", line 45, in home
  521. "predictions": predict_single_image(image_url),
  522. File "/workspace/main.py", line 20, in predict_single_image
  523. results = model(image_url)
  524. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  525. return self.predict(source, stream, **kwargs)
  526. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  527. return func(*args, **kwargs)
  528. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 250, in predict
  529. self.predictor.setup_model(model=self.model, verbose=is_cli)
  530. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
  531. self.model = AutoBackend(model,
  532. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 94, in __init__
  533. model = model.fuse(verbose=verbose) if fuse else model
  534. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 134, in fuse
  535. delattr(m, 'bn') # remove batchnorm
  536. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1685, in __delattr__
  537. super().__delattr__(name)
  538. AttributeError: bn
  539.  
  540. Ultralytics YOLOv8.0.117 πŸš€ Python-3.10.6 torch-2.0.1+cu117 CUDA:0 (NVIDIA RTX A4000, 16109MiB)
  541. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  542. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  543. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  544. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  545. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  546. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  547. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  548. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  549. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  550. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  551. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  552. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  553. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  554. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  555. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  556. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  557. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  558. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  559. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  560. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  561. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  562. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  563. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  564. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  565. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  566. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  567. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  568. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  569. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  570. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  571. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  572. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  573. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  574. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  575. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  576. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  577. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  578. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  579. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  580. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  581. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  582. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  583. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  584. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  585. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  586. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  587. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  588. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  589. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  590. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  591. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  592. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  593. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  594. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  595. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  596. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  597. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  598. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  599. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  600. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  601. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  602. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  603. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  604. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  605. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  606. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  607. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  608. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  609. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  610. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  611. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  612. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  613. Traceback (most recent call last):
  614. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  615. return self.wsgi_app(environ, start_response)
  616. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  617. response = self.handle_exception(e)
  618. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  619. response = self.full_dispatch_request()
  620. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  621. rv = self.handle_user_exception(e)
  622. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  623. rv = self.dispatch_request()
  624. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  625. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  626. File "/workspace/main.py", line 45, in home
  627. "predictions": predict_single_image(image_url),
  628. File "/workspace/main.py", line 20, in predict_single_image
  629. results = model(image_url)
  630. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  631. return self.predict(source, stream, **kwargs)
  632. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  633. return func(*args, **kwargs)
  634. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  635. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  636. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  637. return list(self.stream_inference(source, model)) # merge list of Result into one
  638. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  639. response = gen.send(None)
  640. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  641. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  642. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  643. self.forward(im) # warmup
  644. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  645. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  646. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  647. return forward_call(*args, **kwargs)
  648. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  649. return self.predict(x, *args, **kwargs)
  650. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  651. return self._predict_once(x, profile, visualize)
  652. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  653. x = m(x) # run
  654. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  655. return forward_call(*args, **kwargs)
  656. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/block.py", line 180, in forward
  657. y = list(self.cv1(x).chunk(2, 1))
  658. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  659. return forward_call(*args, **kwargs)
  660. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  661. return self.act(self.conv(x))
  662. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  663. return forward_call(*args, **kwargs)
  664. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  665. return self._conv_forward(input, self.weight, self.bias)
  666. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  667. return F.conv2d(input, weight, bias, self.stride,
  668. RuntimeError: CUDA error: an illegal memory access was encountered
  669. CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
  670. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
  671. Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
  672.  
  673. Traceback (most recent call last):
  674. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  675. return self.wsgi_app(environ, start_response)
  676. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  677. response = self.handle_exception(e)
  678. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  679. response = self.full_dispatch_request()
  680. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  681. rv = self.handle_user_exception(e)
  682. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  683. rv = self.dispatch_request()
  684. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  685. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  686. File "/workspace/main.py", line 45, in home
  687. "predictions": predict_single_image(image_url),
  688. File "/workspace/main.py", line 20, in predict_single_image
  689. results = model(image_url)
  690. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  691. return self.predict(source, stream, **kwargs)
  692. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  693. return func(*args, **kwargs)
  694. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  695. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  696. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  697. return list(self.stream_inference(source, model)) # merge list of Result into one
  698. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  699. response = gen.send(None)
  700. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  701. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  702. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  703. self.forward(im) # warmup
  704. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  705. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  706. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  707. return forward_call(*args, **kwargs)
  708. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  709. return self.predict(x, *args, **kwargs)
  710. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  711. return self._predict_once(x, profile, visualize)
  712. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  713. x = m(x) # run
  714. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  715. return forward_call(*args, **kwargs)
  716. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  717. return self.act(self.conv(x))
  718. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  719. return forward_call(*args, **kwargs)
  720. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  721. return self._conv_forward(input, self.weight, self.bias)
  722. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  723. return F.conv2d(input, weight, bias, self.stride,
  724. RuntimeError: cuDNN error: CUDNN_STATUS_INTERNAL_ERROR
  725. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  726. Model summary (fused): 168 layers, 11126745 parameters, 0 gradients
  727. Traceback (most recent call last):
  728. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  729. return self.wsgi_app(environ, start_response)
  730. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  731. response = self.handle_exception(e)
  732. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  733. response = self.full_dispatch_request()
  734. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  735. rv = self.handle_user_exception(e)
  736. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  737. rv = self.dispatch_request()
  738. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  739. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  740. File "/workspace/main.py", line 45, in home
  741. "predictions": predict_single_image(image_url),
  742. File "/workspace/main.py", line 20, in predict_single_image
  743. results = model(image_url)
  744. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  745. return self.predict(source, stream, **kwargs)
  746. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  747. return func(*args, **kwargs)
  748. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  749. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  750. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  751. return list(self.stream_inference(source, model)) # merge list of Result into one
  752. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  753. response = gen.send(None)
  754. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 213, in stream_inference
  755. self.setup_model(model)
  756. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
  757. self.model = AutoBackend(model,
  758. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 104, in __init__
  759. model = attempt_load_weights(weights if isinstance(weights, list) else w,
  760. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 546, in attempt_load_weights
  761. ensemble.append(model.fuse().eval() if fuse and hasattr(model, 'fuse') else model.eval()) # model in eval mode
  762. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 133, in fuse
  763. m.conv = fuse_conv_and_bn(m.conv, m.bn) # update conv
  764. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/utils/torch_utils.py", line 132, in fuse_conv_and_bn
  765. b_bn = bn.bias - bn.weight.mul(bn.running_mean).div(torch.sqrt(bn.running_var + bn.eps))
  766. RuntimeError: CUDA error: an illegal memory access was encountered
  767. CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
  768. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
  769. Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
  770.  
  771. Traceback (most recent call last):
  772. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  773. return self.wsgi_app(environ, start_response)
  774. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  775. response = self.handle_exception(e)
  776. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  777. response = self.full_dispatch_request()
  778. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  779. rv = self.handle_user_exception(e)
  780. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  781. rv = self.dispatch_request()
  782. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  783. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  784. File "/workspace/main.py", line 45, in home
  785. "predictions": predict_single_image(image_url),
  786. File "/workspace/main.py", line 20, in predict_single_image
  787. results = model(image_url)
  788. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  789. return self.predict(source, stream, **kwargs)
  790. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  791. return func(*args, **kwargs)
  792. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  793. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  794. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  795. return list(self.stream_inference(source, model)) # merge list of Result into one
  796. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  797. response = gen.send(None)
  798. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 213, in stream_inference
  799. self.setup_model(model)
  800. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
  801. self.model = AutoBackend(model,
  802. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 104, in __init__
  803. model = attempt_load_weights(weights if isinstance(weights, list) else w,
  804. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 546, in attempt_load_weights
  805. ensemble.append(model.fuse().eval() if fuse and hasattr(model, 'fuse') else model.eval()) # model in eval mode
  806. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 133, in fuse
  807. m.conv = fuse_conv_and_bn(m.conv, m.bn) # update conv
  808. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/utils/torch_utils.py", line 133, in fuse_conv_and_bn
  809. fusedconv.bias.copy_(torch.mm(w_bn, b_conv.reshape(-1, 1)).reshape(-1) + b_bn)
  810. RuntimeError: CUDA error: an illegal memory access was encountered
  811. CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
  812. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
  813. Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
  814.  
  815. Traceback (most recent call last):
  816. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  817. return self.wsgi_app(environ, start_response)
  818. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  819. response = self.handle_exception(e)
  820. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  821. response = self.full_dispatch_request()
  822. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  823. rv = self.handle_user_exception(e)
  824. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  825. rv = self.dispatch_request()
  826. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  827. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  828. File "/workspace/main.py", line 45, in home
  829. "predictions": predict_single_image(image_url),
  830. File "/workspace/main.py", line 20, in predict_single_image
  831. results = model(image_url)
  832. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  833. return self.predict(source, stream, **kwargs)
  834. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  835. return func(*args, **kwargs)
  836. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  837. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  838. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  839. return list(self.stream_inference(source, model)) # merge list of Result into one
  840. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  841. response = gen.send(None)
  842. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 213, in stream_inference
  843. self.setup_model(model)
  844. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
  845. self.model = AutoBackend(model,
  846. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 104, in __init__
  847. model = attempt_load_weights(weights if isinstance(weights, list) else w,
  848. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 546, in attempt_load_weights
  849. ensemble.append(model.fuse().eval() if fuse and hasattr(model, 'fuse') else model.eval()) # model in eval mode
  850. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 133, in fuse
  851. m.conv = fuse_conv_and_bn(m.conv, m.bn) # update conv
  852. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/utils/torch_utils.py", line 132, in fuse_conv_and_bn
  853. b_bn = bn.bias - bn.weight.mul(bn.running_mean).div(torch.sqrt(bn.running_var + bn.eps))
  854. RuntimeError: CUDA error: an illegal memory access was encountered
  855. CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
  856. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
  857. Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
  858.  
  859. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  860. Traceback (most recent call last):
  861. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  862. return self.wsgi_app(environ, start_response)
  863. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  864. response = self.handle_exception(e)
  865. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  866. response = self.full_dispatch_request()
  867. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  868. rv = self.handle_user_exception(e)
  869. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  870. rv = self.dispatch_request()
  871. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  872. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  873. File "/workspace/main.py", line 45, in home
  874. "predictions": predict_single_image(image_url),
  875. File "/workspace/main.py", line 20, in predict_single_image
  876. results = model(image_url)
  877. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  878. return self.predict(source, stream, **kwargs)
  879. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  880. return func(*args, **kwargs)
  881. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  882. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  883. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  884. return list(self.stream_inference(source, model)) # merge list of Result into one
  885. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  886. response = gen.send(None)
  887. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 213, in stream_inference
  888. self.setup_model(model)
  889. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
  890. self.model = AutoBackend(model,
  891. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 104, in __init__
  892. model = attempt_load_weights(weights if isinstance(weights, list) else w,
  893. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 546, in attempt_load_weights
  894. ensemble.append(model.fuse().eval() if fuse and hasattr(model, 'fuse') else model.eval()) # model in eval mode
  895. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 133, in fuse
  896. m.conv = fuse_conv_and_bn(m.conv, m.bn) # update conv
  897. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/utils/torch_utils.py", line 123, in fuse_conv_and_bn
  898. bias=True).requires_grad_(False).to(conv.weight.device)
  899. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1145, in to
  900. return self._apply(convert)
  901. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 820, in _apply
  902. param_applied = fn(param)
  903. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1143, in convert
  904. return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
  905. RuntimeError: CUDA error: an illegal memory access was encountered
  906. CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
  907. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
  908. Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
  909.  
  910. Traceback (most recent call last):
  911. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  912. return self.wsgi_app(environ, start_response)
  913. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  914. response = self.handle_exception(e)
  915. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  916. response = self.full_dispatch_request()
  917. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  918. rv = self.handle_user_exception(e)
  919. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  920. rv = self.dispatch_request()
  921. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  922. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  923. File "/workspace/main.py", line 45, in home
  924. "predictions": predict_single_image(image_url),
  925. File "/workspace/main.py", line 20, in predict_single_image
  926. results = model(image_url)
  927. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  928. return self.predict(source, stream, **kwargs)
  929. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  930. return func(*args, **kwargs)
  931. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  932. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  933. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  934. return list(self.stream_inference(source, model)) # merge list of Result into one
  935. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  936. response = gen.send(None)
  937. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 213, in stream_inference
  938. self.setup_model(model)
  939. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
  940. self.model = AutoBackend(model,
  941. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 104, in __init__
  942. model = attempt_load_weights(weights if isinstance(weights, list) else w,
  943. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 546, in attempt_load_weights
  944. ensemble.append(model.fuse().eval() if fuse and hasattr(model, 'fuse') else model.eval()) # model in eval mode
  945. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 133, in fuse
  946. m.conv = fuse_conv_and_bn(m.conv, m.bn) # update conv
  947. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/utils/torch_utils.py", line 133, in fuse_conv_and_bn
  948. fusedconv.bias.copy_(torch.mm(w_bn, b_conv.reshape(-1, 1)).reshape(-1) + b_bn)
  949. RuntimeError: CUDA error: an illegal memory access was encountered
  950. CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
  951. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
  952. Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
  953.  
  954. Traceback (most recent call last):
  955. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  956. return self.wsgi_app(environ, start_response)
  957. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  958. response = self.handle_exception(e)
  959. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  960. response = self.full_dispatch_request()
  961. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  962. rv = self.handle_user_exception(e)
  963. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  964. rv = self.dispatch_request()
  965. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  966. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  967. File "/workspace/main.py", line 45, in home
  968. "predictions": predict_single_image(image_url),
  969. File "/workspace/main.py", line 20, in predict_single_image
  970. results = model(image_url)
  971. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  972. return self.predict(source, stream, **kwargs)
  973. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  974. return func(*args, **kwargs)
  975. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  976. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  977. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  978. return list(self.stream_inference(source, model)) # merge list of Result into one
  979. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  980. response = gen.send(None)
  981. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 213, in stream_inference
  982. self.setup_model(model)
  983. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
  984. self.model = AutoBackend(model,
  985. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 104, in __init__
  986. model = attempt_load_weights(weights if isinstance(weights, list) else w,
  987. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 546, in attempt_load_weights
  988. ensemble.append(model.fuse().eval() if fuse and hasattr(model, 'fuse') else model.eval()) # model in eval mode
  989. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 133, in fuse
  990. m.conv = fuse_conv_and_bn(m.conv, m.bn) # update conv
  991. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/utils/torch_utils.py", line 126, in fuse_conv_and_bn
  992. w_conv = conv.weight.clone().view(conv.out_channels, -1)
  993. RuntimeError: CUDA error: an illegal memory access was encountered
  994. CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
  995. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
  996. Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
  997.  
  998. Found https://cdn.discordapp.com/attachments/1096822099345145969/1117198390585987092/68a31cb7cc50b355a63624176e095c250cb39e6c.jpg locally at 68a31cb7cc50b355a63624176e095c250cb39e6c.jpg
  999. Traceback (most recent call last):
  1000. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  1001. return self.wsgi_app(environ, start_response)
  1002. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  1003. response = self.handle_exception(e)
  1004. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  1005. response = self.full_dispatch_request()
  1006. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  1007. rv = self.handle_user_exception(e)
  1008. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  1009. rv = self.dispatch_request()
  1010. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  1011. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  1012. File "/workspace/main.py", line 45, in home
  1013. "predictions": predict_single_image(image_url),
  1014. File "/workspace/main.py", line 20, in predict_single_image
  1015. results = model(image_url)
  1016. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  1017. return self.predict(source, stream, **kwargs)
  1018. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  1019. return func(*args, **kwargs)
  1020. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  1021. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  1022. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  1023. return list(self.stream_inference(source, model)) # merge list of Result into one
  1024. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  1025. response = gen.send(None)
  1026. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  1027. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  1028. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  1029. self.forward(im) # warmup
  1030. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  1031. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  1032. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1033. return forward_call(*args, **kwargs)
  1034. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  1035. return self.predict(x, *args, **kwargs)
  1036. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  1037. return self._predict_once(x, profile, visualize)
  1038. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  1039. x = m(x) # run
  1040. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1041. return forward_call(*args, **kwargs)
  1042. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/block.py", line 180, in forward
  1043. y = list(self.cv1(x).chunk(2, 1))
  1044. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1045. return forward_call(*args, **kwargs)
  1046. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  1047. return self.act(self.conv(x))
  1048. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1049. return forward_call(*args, **kwargs)
  1050. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  1051. return self._conv_forward(input, self.weight, self.bias)
  1052. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  1053. return F.conv2d(input, weight, bias, self.stride,
  1054. RuntimeError: CUDA error: an illegal memory access was encountered
  1055. CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
  1056. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
  1057. Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
  1058.  
  1059. Traceback (most recent call last):
  1060. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  1061. return self.wsgi_app(environ, start_response)
  1062. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  1063. response = self.handle_exception(e)
  1064. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  1065. response = self.full_dispatch_request()
  1066. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  1067. rv = self.handle_user_exception(e)
  1068. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  1069. rv = self.dispatch_request()
  1070. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  1071. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  1072. File "/workspace/main.py", line 45, in home
  1073. "predictions": predict_single_image(image_url),
  1074. File "/workspace/main.py", line 20, in predict_single_image
  1075. results = model(image_url)
  1076. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  1077. return self.predict(source, stream, **kwargs)
  1078. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  1079. return func(*args, **kwargs)
  1080. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  1081. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  1082. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  1083. return list(self.stream_inference(source, model)) # merge list of Result into one
  1084. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  1085. response = gen.send(None)
  1086. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  1087. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  1088. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  1089. self.forward(im) # warmup
  1090. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  1091. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  1092. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1093. return forward_call(*args, **kwargs)
  1094. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  1095. return self.predict(x, *args, **kwargs)
  1096. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  1097. return self._predict_once(x, profile, visualize)
  1098. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  1099. x = m(x) # run
  1100. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1101. return forward_call(*args, **kwargs)
  1102. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  1103. return self.act(self.conv(x))
  1104. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1105. return forward_call(*args, **kwargs)
  1106. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  1107. return self._conv_forward(input, self.weight, self.bias)
  1108. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  1109. return F.conv2d(input, weight, bias, self.stride,
  1110. RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED
  1111. Traceback (most recent call last):
  1112. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  1113. return self.wsgi_app(environ, start_response)
  1114. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  1115. response = self.handle_exception(e)
  1116. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  1117. response = self.full_dispatch_request()
  1118. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  1119. rv = self.handle_user_exception(e)
  1120. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  1121. rv = self.dispatch_request()
  1122. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  1123. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  1124. File "/workspace/main.py", line 45, in home
  1125. "predictions": predict_single_image(image_url),
  1126. File "/workspace/main.py", line 20, in predict_single_image
  1127. results = model(image_url)
  1128. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  1129. return self.predict(source, stream, **kwargs)
  1130. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  1131. return func(*args, **kwargs)
  1132. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  1133. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  1134. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  1135. return list(self.stream_inference(source, model)) # merge list of Result into one
  1136. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  1137. response = gen.send(None)
  1138. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 213, in stream_inference
  1139. self.setup_model(model)
  1140. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
  1141. self.model = AutoBackend(model,
  1142. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 104, in __init__
  1143. model = attempt_load_weights(weights if isinstance(weights, list) else w,
  1144. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 546, in attempt_load_weights
  1145. ensemble.append(model.fuse().eval() if fuse and hasattr(model, 'fuse') else model.eval()) # model in eval mode
  1146. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 133, in fuse
  1147. m.conv = fuse_conv_and_bn(m.conv, m.bn) # update conv
  1148. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/utils/torch_utils.py", line 123, in fuse_conv_and_bn
  1149. bias=True).requires_grad_(False).to(conv.weight.device)
  1150. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1145, in to
  1151. return self._apply(convert)
  1152. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 820, in _apply
  1153. param_applied = fn(param)
  1154. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1143, in convert
  1155. return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
  1156. RuntimeError: CUDA error: an illegal memory access was encountered
  1157. CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
  1158. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
  1159. Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
  1160.  
  1161. Traceback (most recent call last):
  1162. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  1163. return self.wsgi_app(environ, start_response)
  1164. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  1165. response = self.handle_exception(e)
  1166. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  1167. response = self.full_dispatch_request()
  1168. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  1169. rv = self.handle_user_exception(e)
  1170. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  1171. rv = self.dispatch_request()
  1172. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  1173. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  1174. File "/workspace/main.py", line 45, in home
  1175. "predictions": predict_single_image(image_url),
  1176. File "/workspace/main.py", line 20, in predict_single_image
  1177. results = model(image_url)
  1178. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  1179. return self.predict(source, stream, **kwargs)
  1180. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  1181. return func(*args, **kwargs)
  1182. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  1183. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  1184. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  1185. return list(self.stream_inference(source, model)) # merge list of Result into one
  1186. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  1187. response = gen.send(None)
  1188. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  1189. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  1190. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  1191. self.forward(im) # warmup
  1192. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  1193. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  1194. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1195. return forward_call(*args, **kwargs)
  1196. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  1197. return self.predict(x, *args, **kwargs)
  1198. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  1199. return self._predict_once(x, profile, visualize)
  1200. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  1201. x = m(x) # run
  1202. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1203. return forward_call(*args, **kwargs)
  1204. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/block.py", line 180, in forward
  1205. y = list(self.cv1(x).chunk(2, 1))
  1206. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1207. return forward_call(*args, **kwargs)
  1208. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  1209. return self.act(self.conv(x))
  1210. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1211. return forward_call(*args, **kwargs)
  1212. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  1213. return self._conv_forward(input, self.weight, self.bias)
  1214. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  1215. return F.conv2d(input, weight, bias, self.stride,
  1216. RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
  1217. Traceback (most recent call last):
  1218. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  1219. return self.wsgi_app(environ, start_response)
  1220. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  1221. response = self.handle_exception(e)
  1222. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  1223. response = self.full_dispatch_request()
  1224. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  1225. rv = self.handle_user_exception(e)
  1226. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  1227. rv = self.dispatch_request()
  1228. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  1229. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  1230. File "/workspace/main.py", line 45, in home
  1231. "predictions": predict_single_image(image_url),
  1232. File "/workspace/main.py", line 20, in predict_single_image
  1233. results = model(image_url)
  1234. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  1235. return self.predict(source, stream, **kwargs)
  1236. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  1237. return func(*args, **kwargs)
  1238. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  1239. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  1240. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  1241. return list(self.stream_inference(source, model)) # merge list of Result into one
  1242. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  1243. response = gen.send(None)
  1244. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  1245. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  1246. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  1247. self.forward(im) # warmup
  1248. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  1249. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  1250. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1251. return forward_call(*args, **kwargs)
  1252. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  1253. return self.predict(x, *args, **kwargs)
  1254. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  1255. return self._predict_once(x, profile, visualize)
  1256. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  1257. x = m(x) # run
  1258. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1259. return forward_call(*args, **kwargs)
  1260. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  1261. return self.act(self.conv(x))
  1262. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1263. return forward_call(*args, **kwargs)
  1264. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  1265. return self._conv_forward(input, self.weight, self.bias)
  1266. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  1267. return F.conv2d(input, weight, bias, self.stride,
  1268. RuntimeError: CUDA error: an illegal memory access was encountered
  1269. CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
  1270. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
  1271. Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
  1272.  
  1273. Traceback (most recent call last):
  1274. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  1275. return self.wsgi_app(environ, start_response)
  1276. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  1277. response = self.handle_exception(e)
  1278. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  1279. response = self.full_dispatch_request()
  1280. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  1281. rv = self.handle_user_exception(e)
  1282. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  1283. rv = self.dispatch_request()
  1284. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  1285. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  1286. File "/workspace/main.py", line 45, in home
  1287. "predictions": predict_single_image(image_url),
  1288. File "/workspace/main.py", line 20, in predict_single_image
  1289. results = model(image_url)
  1290. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  1291. return self.predict(source, stream, **kwargs)
  1292. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  1293. return func(*args, **kwargs)
  1294. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  1295. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  1296. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  1297. return list(self.stream_inference(source, model)) # merge list of Result into one
  1298. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  1299. response = gen.send(None)
  1300. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  1301. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  1302. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  1303. self.forward(im) # warmup
  1304. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  1305. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  1306. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1307. return forward_call(*args, **kwargs)
  1308. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  1309. return self.predict(x, *args, **kwargs)
  1310. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  1311. return self._predict_once(x, profile, visualize)
  1312. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  1313. x = m(x) # run
  1314. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1315. return forward_call(*args, **kwargs)
  1316. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/block.py", line 180, in forward
  1317. y = list(self.cv1(x).chunk(2, 1))
  1318. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1319. return forward_call(*args, **kwargs)
  1320. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  1321. return self.act(self.conv(x))
  1322. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1323. return forward_call(*args, **kwargs)
  1324. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  1325. return self._conv_forward(input, self.weight, self.bias)
  1326. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  1327. return F.conv2d(input, weight, bias, self.stride,
  1328. RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
  1329. Traceback (most recent call last):
  1330. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  1331. return self.wsgi_app(environ, start_response)
  1332. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  1333. response = self.handle_exception(e)
  1334. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  1335. response = self.full_dispatch_request()
  1336. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  1337. rv = self.handle_user_exception(e)
  1338. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  1339. rv = self.dispatch_request()
  1340. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  1341. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  1342. File "/workspace/main.py", line 45, in home
  1343. "predictions": predict_single_image(image_url),
  1344. File "/workspace/main.py", line 20, in predict_single_image
  1345. results = model(image_url)
  1346. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  1347. return self.predict(source, stream, **kwargs)
  1348. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  1349. return func(*args, **kwargs)
  1350. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  1351. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  1352. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  1353. return list(self.stream_inference(source, model)) # merge list of Result into one
  1354. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  1355. response = gen.send(None)
  1356. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  1357. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  1358. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  1359. self.forward(im) # warmup
  1360. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  1361. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  1362. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1363. return forward_call(*args, **kwargs)
  1364. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  1365. return self.predict(x, *args, **kwargs)
  1366. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  1367. return self._predict_once(x, profile, visualize)
  1368. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  1369. x = m(x) # run
  1370. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1371. return forward_call(*args, **kwargs)
  1372. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/block.py", line 180, in forward
  1373. y = list(self.cv1(x).chunk(2, 1))
  1374. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1375. return forward_call(*args, **kwargs)
  1376. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  1377. return self.act(self.conv(x))
  1378. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1379. return forward_call(*args, **kwargs)
  1380. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  1381. return self._conv_forward(input, self.weight, self.bias)
  1382. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  1383. return F.conv2d(input, weight, bias, self.stride,
  1384. RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
  1385. Traceback (most recent call last):
  1386. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  1387. return self.wsgi_app(environ, start_response)
  1388. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  1389. response = self.handle_exception(e)
  1390. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  1391. response = self.full_dispatch_request()
  1392. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  1393. rv = self.handle_user_exception(e)
  1394. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  1395. rv = self.dispatch_request()
  1396. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  1397. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  1398. File "/workspace/main.py", line 45, in home
  1399. "predictions": predict_single_image(image_url),
  1400. File "/workspace/main.py", line 20, in predict_single_image
  1401. results = model(image_url)
  1402. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  1403. return self.predict(source, stream, **kwargs)
  1404. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  1405. return func(*args, **kwargs)
  1406. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  1407. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  1408. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  1409. return list(self.stream_inference(source, model)) # merge list of Result into one
  1410. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  1411. response = gen.send(None)
  1412. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 213, in stream_inference
  1413. self.setup_model(model)
  1414. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
  1415. self.model = AutoBackend(model,
  1416. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 104, in __init__
  1417. model = attempt_load_weights(weights if isinstance(weights, list) else w,
  1418. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 546, in attempt_load_weights
  1419. ensemble.append(model.fuse().eval() if fuse and hasattr(model, 'fuse') else model.eval()) # model in eval mode
  1420. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 133, in fuse
  1421. m.conv = fuse_conv_and_bn(m.conv, m.bn) # update conv
  1422. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/utils/torch_utils.py", line 123, in fuse_conv_and_bn
  1423. bias=True).requires_grad_(False).to(conv.weight.device)
  1424. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1145, in to
  1425. return self._apply(convert)
  1426. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 820, in _apply
  1427. param_applied = fn(param)
  1428. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1143, in convert
  1429. return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
  1430. RuntimeError: CUDA error: an illegal memory access was encountered
  1431. CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
  1432. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
  1433. Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
  1434.  
  1435. Traceback (most recent call last):
  1436. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  1437. return self.wsgi_app(environ, start_response)
  1438. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  1439. response = self.handle_exception(e)
  1440. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  1441. response = self.full_dispatch_request()
  1442. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  1443. rv = self.handle_user_exception(e)
  1444. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  1445. rv = self.dispatch_request()
  1446. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  1447. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  1448. File "/workspace/main.py", line 45, in home
  1449. "predictions": predict_single_image(image_url),
  1450. File "/workspace/main.py", line 20, in predict_single_image
  1451. results = model(image_url)
  1452. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  1453. return self.predict(source, stream, **kwargs)
  1454. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  1455. return func(*args, **kwargs)
  1456. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  1457. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  1458. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  1459. return list(self.stream_inference(source, model)) # merge list of Result into one
  1460. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  1461. response = gen.send(None)
  1462. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  1463. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  1464. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  1465. self.forward(im) # warmup
  1466. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  1467. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  1468. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1469. return forward_call(*args, **kwargs)
  1470. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  1471. return self.predict(x, *args, **kwargs)
  1472. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  1473. return self._predict_once(x, profile, visualize)
  1474. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  1475. x = m(x) # run
  1476. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1477. return forward_call(*args, **kwargs)
  1478. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  1479. return self.act(self.conv(x))
  1480. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1481. return forward_call(*args, **kwargs)
  1482. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  1483. return self._conv_forward(input, self.weight, self.bias)
  1484. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  1485. return F.conv2d(input, weight, bias, self.stride,
  1486. RuntimeError: cuDNN error: CUDNN_STATUS_INTERNAL_ERROR
  1487. Traceback (most recent call last):
  1488. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  1489. return self.wsgi_app(environ, start_response)
  1490. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  1491. response = self.handle_exception(e)
  1492. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  1493. response = self.full_dispatch_request()
  1494. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  1495. rv = self.handle_user_exception(e)
  1496. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  1497. rv = self.dispatch_request()
  1498. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  1499. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  1500. File "/workspace/main.py", line 45, in home
  1501. "predictions": predict_single_image(image_url),
  1502. File "/workspace/main.py", line 20, in predict_single_image
  1503. results = model(image_url)
  1504. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  1505. return self.predict(source, stream, **kwargs)
  1506. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  1507. return func(*args, **kwargs)
  1508. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  1509. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  1510. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  1511. return list(self.stream_inference(source, model)) # merge list of Result into one
  1512. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  1513. response = gen.send(None)
  1514. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 213, in stream_inference
  1515. self.setup_model(model)
  1516. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
  1517. self.model = AutoBackend(model,
  1518. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 104, in __init__
  1519. model = attempt_load_weights(weights if isinstance(weights, list) else w,
  1520. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 546, in attempt_load_weights
  1521. ensemble.append(model.fuse().eval() if fuse and hasattr(model, 'fuse') else model.eval()) # model in eval mode
  1522. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 133, in fuse
  1523. m.conv = fuse_conv_and_bn(m.conv, m.bn) # update conv
  1524. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/utils/torch_utils.py", line 123, in fuse_conv_and_bn
  1525. bias=True).requires_grad_(False).to(conv.weight.device)
  1526. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1145, in to
  1527. return self._apply(convert)
  1528. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 820, in _apply
  1529. param_applied = fn(param)
  1530. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1143, in convert
  1531. return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
  1532. RuntimeError: CUDA error: an illegal memory access was encountered
  1533. CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
  1534. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
  1535. Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
  1536.  
  1537. Traceback (most recent call last):
  1538. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  1539. return self.wsgi_app(environ, start_response)
  1540. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  1541. response = self.handle_exception(e)
  1542. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  1543. response = self.full_dispatch_request()
  1544. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  1545. rv = self.handle_user_exception(e)
  1546. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  1547. rv = self.dispatch_request()
  1548. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  1549. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  1550. File "/workspace/main.py", line 45, in home
  1551. "predictions": predict_single_image(image_url),
  1552. File "/workspace/main.py", line 20, in predict_single_image
  1553. results = model(image_url)
  1554. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  1555. return self.predict(source, stream, **kwargs)
  1556. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  1557. return func(*args, **kwargs)
  1558. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  1559. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  1560. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  1561. return list(self.stream_inference(source, model)) # merge list of Result into one
  1562. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  1563. response = gen.send(None)
  1564. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  1565. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  1566. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  1567. self.forward(im) # warmup
  1568. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  1569. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  1570. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1571. return forward_call(*args, **kwargs)
  1572. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  1573. return self.predict(x, *args, **kwargs)
  1574. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  1575. return self._predict_once(x, profile, visualize)
  1576. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  1577. x = m(x) # run
  1578. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1579. return forward_call(*args, **kwargs)
  1580. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/block.py", line 180, in forward
  1581. y = list(self.cv1(x).chunk(2, 1))
  1582. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1583. return forward_call(*args, **kwargs)
  1584. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  1585. return self.act(self.conv(x))
  1586. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1587. return forward_call(*args, **kwargs)
  1588. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  1589. return self._conv_forward(input, self.weight, self.bias)
  1590. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  1591. return F.conv2d(input, weight, bias, self.stride,
  1592. RuntimeError: cuDNN error: CUDNN_STATUS_INTERNAL_ERROR
  1593. Traceback (most recent call last):
  1594. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  1595. return self.wsgi_app(environ, start_response)
  1596. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  1597. response = self.handle_exception(e)
  1598. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  1599. response = self.full_dispatch_request()
  1600. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  1601. rv = self.handle_user_exception(e)
  1602. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  1603. rv = self.dispatch_request()
  1604. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  1605. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  1606. File "/workspace/main.py", line 45, in home
  1607. "predictions": predict_single_image(image_url),
  1608. File "/workspace/main.py", line 20, in predict_single_image
  1609. results = model(image_url)
  1610. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  1611. return self.predict(source, stream, **kwargs)
  1612. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  1613. return func(*args, **kwargs)
  1614. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  1615. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  1616. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  1617. return list(self.stream_inference(source, model)) # merge list of Result into one
  1618. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  1619. response = gen.send(None)
  1620. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  1621. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  1622. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  1623. self.forward(im) # warmup
  1624. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  1625. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  1626. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1627. return forward_call(*args, **kwargs)
  1628. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  1629. return self.predict(x, *args, **kwargs)
  1630. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  1631. return self._predict_once(x, profile, visualize)
  1632. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  1633. x = m(x) # run
  1634. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1635. return forward_call(*args, **kwargs)
  1636. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  1637. return self.act(self.conv(x))
  1638. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1639. return forward_call(*args, **kwargs)
  1640. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  1641. return self._conv_forward(input, self.weight, self.bias)
  1642. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  1643. return F.conv2d(input, weight, bias, self.stride,
  1644. RuntimeError: CUDA error: an illegal memory access was encountered
  1645. CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
  1646. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
  1647. Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
  1648.  
  1649. Traceback (most recent call last):
  1650. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  1651. return self.wsgi_app(environ, start_response)
  1652. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  1653. response = self.handle_exception(e)
  1654. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  1655. response = self.full_dispatch_request()
  1656. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  1657. rv = self.handle_user_exception(e)
  1658. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  1659. rv = self.dispatch_request()
  1660. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  1661. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  1662. File "/workspace/main.py", line 45, in home
  1663. "predictions": predict_single_image(image_url),
  1664. File "/workspace/main.py", line 20, in predict_single_image
  1665. results = model(image_url)
  1666. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  1667. return self.predict(source, stream, **kwargs)
  1668. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  1669. return func(*args, **kwargs)
  1670. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  1671. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  1672. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  1673. return list(self.stream_inference(source, model)) # merge list of Result into one
  1674. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  1675. response = gen.send(None)
  1676. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  1677. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  1678. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  1679. self.forward(im) # warmup
  1680. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  1681. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  1682. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1683. return forward_call(*args, **kwargs)
  1684. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  1685. return self.predict(x, *args, **kwargs)
  1686. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  1687. return self._predict_once(x, profile, visualize)
  1688. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  1689. x = m(x) # run
  1690. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1691. return forward_call(*args, **kwargs)
  1692. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  1693. return self.act(self.conv(x))
  1694. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1695. return forward_call(*args, **kwargs)
  1696. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  1697. return self._conv_forward(input, self.weight, self.bias)
  1698. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  1699. return F.conv2d(input, weight, bias, self.stride,
  1700. RuntimeError: CUDA error: an illegal memory access was encountered
  1701. CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
  1702. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
  1703. Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
  1704.  
  1705. Traceback (most recent call last):
  1706. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  1707. return self.wsgi_app(environ, start_response)
  1708. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  1709. response = self.handle_exception(e)
  1710. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  1711. response = self.full_dispatch_request()
  1712. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  1713. rv = self.handle_user_exception(e)
  1714. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  1715. rv = self.dispatch_request()
  1716. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  1717. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  1718. File "/workspace/main.py", line 45, in home
  1719. "predictions": predict_single_image(image_url),
  1720. File "/workspace/main.py", line 20, in predict_single_image
  1721. results = model(image_url)
  1722. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  1723. return self.predict(source, stream, **kwargs)
  1724. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  1725. return func(*args, **kwargs)
  1726. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  1727. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  1728. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  1729. return list(self.stream_inference(source, model)) # merge list of Result into one
  1730. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  1731. response = gen.send(None)
  1732. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 213, in stream_inference
  1733. self.setup_model(model)
  1734. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 295, in setup_model
  1735. self.model = AutoBackend(model,
  1736. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 104, in __init__
  1737. model = attempt_load_weights(weights if isinstance(weights, list) else w,
  1738. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 546, in attempt_load_weights
  1739. ensemble.append(model.fuse().eval() if fuse and hasattr(model, 'fuse') else model.eval()) # model in eval mode
  1740. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 133, in fuse
  1741. m.conv = fuse_conv_and_bn(m.conv, m.bn) # update conv
  1742. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/utils/torch_utils.py", line 123, in fuse_conv_and_bn
  1743. bias=True).requires_grad_(False).to(conv.weight.device)
  1744. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1145, in to
  1745. return self._apply(convert)
  1746. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 820, in _apply
  1747. param_applied = fn(param)
  1748. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1143, in convert
  1749. return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
  1750. RuntimeError: CUDA error: an illegal memory access was encountered
  1751. CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
  1752. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
  1753. Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
  1754.  
  1755. Traceback (most recent call last):
  1756. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  1757. return self.wsgi_app(environ, start_response)
  1758. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  1759. response = self.handle_exception(e)
  1760. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  1761. response = self.full_dispatch_request()
  1762. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  1763. rv = self.handle_user_exception(e)
  1764. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  1765. rv = self.dispatch_request()
  1766. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  1767. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  1768. File "/workspace/main.py", line 45, in home
  1769. "predictions": predict_single_image(image_url),
  1770. File "/workspace/main.py", line 20, in predict_single_image
  1771. results = model(image_url)
  1772. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  1773. return self.predict(source, stream, **kwargs)
  1774. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  1775. return func(*args, **kwargs)
  1776. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  1777. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  1778. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  1779. return list(self.stream_inference(source, model)) # merge list of Result into one
  1780. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  1781. response = gen.send(None)
  1782. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  1783. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  1784. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  1785. self.forward(im) # warmup
  1786. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  1787. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  1788. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1789. return forward_call(*args, **kwargs)
  1790. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  1791. return self.predict(x, *args, **kwargs)
  1792. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  1793. return self._predict_once(x, profile, visualize)
  1794. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  1795. x = m(x) # run
  1796. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1797. return forward_call(*args, **kwargs)
  1798. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  1799. return self.act(self.conv(x))
  1800. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1801. return forward_call(*args, **kwargs)
  1802. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  1803. return self._conv_forward(input, self.weight, self.bias)
  1804. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  1805. return F.conv2d(input, weight, bias, self.stride,
  1806. RuntimeError: CUDA error: an illegal memory access was encountered
  1807. CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
  1808. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
  1809. Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
  1810.  
  1811. Traceback (most recent call last):
  1812. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  1813. return self.wsgi_app(environ, start_response)
  1814. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  1815. response = self.handle_exception(e)
  1816. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  1817. response = self.full_dispatch_request()
  1818. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  1819. rv = self.handle_user_exception(e)
  1820. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  1821. rv = self.dispatch_request()
  1822. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  1823. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  1824. File "/workspace/main.py", line 45, in home
  1825. "predictions": predict_single_image(image_url),
  1826. File "/workspace/main.py", line 20, in predict_single_image
  1827. results = model(image_url)
  1828. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  1829. return self.predict(source, stream, **kwargs)
  1830. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  1831. return func(*args, **kwargs)
  1832. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  1833. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  1834. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  1835. return list(self.stream_inference(source, model)) # merge list of Result into one
  1836. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  1837. response = gen.send(None)
  1838. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  1839. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  1840. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  1841. self.forward(im) # warmup
  1842. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  1843. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  1844. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1845. return forward_call(*args, **kwargs)
  1846. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  1847. return self.predict(x, *args, **kwargs)
  1848. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  1849. return self._predict_once(x, profile, visualize)
  1850. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  1851. x = m(x) # run
  1852. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1853. return forward_call(*args, **kwargs)
  1854. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/block.py", line 180, in forward
  1855. y = list(self.cv1(x).chunk(2, 1))
  1856. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1857. return forward_call(*args, **kwargs)
  1858. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  1859. return self.act(self.conv(x))
  1860. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1861. return forward_call(*args, **kwargs)
  1862. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  1863. return self._conv_forward(input, self.weight, self.bias)
  1864. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  1865. return F.conv2d(input, weight, bias, self.stride,
  1866. RuntimeError: CUDA error: an illegal memory access was encountered
  1867. CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
  1868. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
  1869. Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
  1870.  
  1871. Traceback (most recent call last):
  1872. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  1873. return self.wsgi_app(environ, start_response)
  1874. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  1875. response = self.handle_exception(e)
  1876. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  1877. response = self.full_dispatch_request()
  1878. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  1879. rv = self.handle_user_exception(e)
  1880. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  1881. rv = self.dispatch_request()
  1882. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  1883. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  1884. File "/workspace/main.py", line 45, in home
  1885. "predictions": predict_single_image(image_url),
  1886. File "/workspace/main.py", line 20, in predict_single_image
  1887. results = model(image_url)
  1888. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  1889. return self.predict(source, stream, **kwargs)
  1890. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  1891. return func(*args, **kwargs)
  1892. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  1893. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  1894. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  1895. return list(self.stream_inference(source, model)) # merge list of Result into one
  1896. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  1897. response = gen.send(None)
  1898. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  1899. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  1900. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  1901. self.forward(im) # warmup
  1902. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  1903. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  1904. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1905. return forward_call(*args, **kwargs)
  1906. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  1907. return self.predict(x, *args, **kwargs)
  1908. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  1909. return self._predict_once(x, profile, visualize)
  1910. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  1911. x = m(x) # run
  1912. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1913. return forward_call(*args, **kwargs)
  1914. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/block.py", line 180, in forward
  1915. y = list(self.cv1(x).chunk(2, 1))
  1916. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1917. return forward_call(*args, **kwargs)
  1918. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  1919. return self.act(self.conv(x))
  1920. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1921. return forward_call(*args, **kwargs)
  1922. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  1923. return self._conv_forward(input, self.weight, self.bias)
  1924. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  1925. return F.conv2d(input, weight, bias, self.stride,
  1926. RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
  1927. Traceback (most recent call last):
  1928. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  1929. return self.wsgi_app(environ, start_response)
  1930. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  1931. response = self.handle_exception(e)
  1932. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  1933. response = self.full_dispatch_request()
  1934. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  1935. rv = self.handle_user_exception(e)
  1936. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  1937. rv = self.dispatch_request()
  1938. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  1939. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  1940. File "/workspace/main.py", line 45, in home
  1941. "predictions": predict_single_image(image_url),
  1942. File "/workspace/main.py", line 20, in predict_single_image
  1943. results = model(image_url)
  1944. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  1945. return self.predict(source, stream, **kwargs)
  1946. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  1947. return func(*args, **kwargs)
  1948. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  1949. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  1950. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  1951. return list(self.stream_inference(source, model)) # merge list of Result into one
  1952. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  1953. response = gen.send(None)
  1954. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  1955. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  1956. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  1957. self.forward(im) # warmup
  1958. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  1959. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  1960. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1961. return forward_call(*args, **kwargs)
  1962. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  1963. return self.predict(x, *args, **kwargs)
  1964. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  1965. return self._predict_once(x, profile, visualize)
  1966. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  1967. x = m(x) # run
  1968. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1969. return forward_call(*args, **kwargs)
  1970. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/block.py", line 180, in forward
  1971. y = list(self.cv1(x).chunk(2, 1))
  1972. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1973. return forward_call(*args, **kwargs)
  1974. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  1975. return self.act(self.conv(x))
  1976. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  1977. return forward_call(*args, **kwargs)
  1978. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  1979. return self._conv_forward(input, self.weight, self.bias)
  1980. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  1981. return F.conv2d(input, weight, bias, self.stride,
  1982. RuntimeError: CUDA error: an illegal memory access was encountered
  1983. CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
  1984. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
  1985. Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
  1986.  
  1987. Traceback (most recent call last):
  1988. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  1989. return self.wsgi_app(environ, start_response)
  1990. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  1991. response = self.handle_exception(e)
  1992. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  1993. response = self.full_dispatch_request()
  1994. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  1995. rv = self.handle_user_exception(e)
  1996. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  1997. rv = self.dispatch_request()
  1998. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  1999. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  2000. File "/workspace/main.py", line 45, in home
  2001. "predictions": predict_single_image(image_url),
  2002. File "/workspace/main.py", line 20, in predict_single_image
  2003. results = model(image_url)
  2004. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  2005. return self.predict(source, stream, **kwargs)
  2006. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  2007. return func(*args, **kwargs)
  2008. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  2009. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  2010. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  2011. return list(self.stream_inference(source, model)) # merge list of Result into one
  2012. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  2013. response = gen.send(None)
  2014. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  2015. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  2016. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  2017. self.forward(im) # warmup
  2018. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  2019. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  2020. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2021. return forward_call(*args, **kwargs)
  2022. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  2023. return self.predict(x, *args, **kwargs)
  2024. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  2025. return self._predict_once(x, profile, visualize)
  2026. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  2027. x = m(x) # run
  2028. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2029. return forward_call(*args, **kwargs)
  2030. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  2031. return self.act(self.conv(x))
  2032. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2033. return forward_call(*args, **kwargs)
  2034. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  2035. return self._conv_forward(input, self.weight, self.bias)
  2036. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  2037. return F.conv2d(input, weight, bias, self.stride,
  2038. RuntimeError: cuDNN error: CUDNN_STATUS_INTERNAL_ERROR
  2039. Traceback (most recent call last):
  2040. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  2041. return self.wsgi_app(environ, start_response)
  2042. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  2043. response = self.handle_exception(e)
  2044. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  2045. response = self.full_dispatch_request()
  2046. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  2047. rv = self.handle_user_exception(e)
  2048. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  2049. rv = self.dispatch_request()
  2050. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  2051. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  2052. File "/workspace/main.py", line 45, in home
  2053. "predictions": predict_single_image(image_url),
  2054. File "/workspace/main.py", line 20, in predict_single_image
  2055. results = model(image_url)
  2056. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  2057. return self.predict(source, stream, **kwargs)
  2058. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  2059. return func(*args, **kwargs)
  2060. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  2061. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  2062. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  2063. return list(self.stream_inference(source, model)) # merge list of Result into one
  2064. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  2065. response = gen.send(None)
  2066. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  2067. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  2068. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  2069. self.forward(im) # warmup
  2070. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  2071. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  2072. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2073. return forward_call(*args, **kwargs)
  2074. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  2075. return self.predict(x, *args, **kwargs)
  2076. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  2077. return self._predict_once(x, profile, visualize)
  2078. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  2079. x = m(x) # run
  2080. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2081. return forward_call(*args, **kwargs)
  2082. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  2083. return self.act(self.conv(x))
  2084. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2085. return forward_call(*args, **kwargs)
  2086. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  2087. return self._conv_forward(input, self.weight, self.bias)
  2088. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  2089. return F.conv2d(input, weight, bias, self.stride,
  2090. RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
  2091. Traceback (most recent call last):
  2092. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  2093. return self.wsgi_app(environ, start_response)
  2094. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  2095. response = self.handle_exception(e)
  2096. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  2097. response = self.full_dispatch_request()
  2098. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  2099. rv = self.handle_user_exception(e)
  2100. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  2101. rv = self.dispatch_request()
  2102. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  2103. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  2104. File "/workspace/main.py", line 45, in home
  2105. "predictions": predict_single_image(image_url),
  2106. File "/workspace/main.py", line 20, in predict_single_image
  2107. results = model(image_url)
  2108. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  2109. return self.predict(source, stream, **kwargs)
  2110. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  2111. return func(*args, **kwargs)
  2112. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  2113. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  2114. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  2115. return list(self.stream_inference(source, model)) # merge list of Result into one
  2116. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  2117. response = gen.send(None)
  2118. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  2119. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  2120. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  2121. self.forward(im) # warmup
  2122. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  2123. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  2124. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2125. return forward_call(*args, **kwargs)
  2126. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  2127. return self.predict(x, *args, **kwargs)
  2128. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  2129. return self._predict_once(x, profile, visualize)
  2130. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  2131. x = m(x) # run
  2132. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2133. return forward_call(*args, **kwargs)
  2134. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/block.py", line 180, in forward
  2135. y = list(self.cv1(x).chunk(2, 1))
  2136. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2137. return forward_call(*args, **kwargs)
  2138. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  2139. return self.act(self.conv(x))
  2140. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2141. return forward_call(*args, **kwargs)
  2142. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  2143. return self._conv_forward(input, self.weight, self.bias)
  2144. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  2145. return F.conv2d(input, weight, bias, self.stride,
  2146. RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
  2147. Traceback (most recent call last):
  2148. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  2149. return self.wsgi_app(environ, start_response)
  2150. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  2151. response = self.handle_exception(e)
  2152. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  2153. response = self.full_dispatch_request()
  2154. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  2155. rv = self.handle_user_exception(e)
  2156. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  2157. rv = self.dispatch_request()
  2158. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  2159. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  2160. File "/workspace/main.py", line 45, in home
  2161. "predictions": predict_single_image(image_url),
  2162. File "/workspace/main.py", line 20, in predict_single_image
  2163. results = model(image_url)
  2164. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  2165. return self.predict(source, stream, **kwargs)
  2166. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  2167. return func(*args, **kwargs)
  2168. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  2169. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  2170. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  2171. return list(self.stream_inference(source, model)) # merge list of Result into one
  2172. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  2173. response = gen.send(None)
  2174. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  2175. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  2176. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  2177. self.forward(im) # warmup
  2178. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  2179. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  2180. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2181. return forward_call(*args, **kwargs)
  2182. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  2183. return self.predict(x, *args, **kwargs)
  2184. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  2185. return self._predict_once(x, profile, visualize)
  2186. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  2187. x = m(x) # run
  2188. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2189. return forward_call(*args, **kwargs)
  2190. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  2191. return self.act(self.conv(x))
  2192. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2193. return forward_call(*args, **kwargs)
  2194. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  2195. return self._conv_forward(input, self.weight, self.bias)
  2196. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  2197. return F.conv2d(input, weight, bias, self.stride,
  2198. RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
  2199. Traceback (most recent call last):
  2200. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  2201. return self.wsgi_app(environ, start_response)
  2202. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  2203. response = self.handle_exception(e)
  2204. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  2205. response = self.full_dispatch_request()
  2206. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  2207. rv = self.handle_user_exception(e)
  2208. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  2209. rv = self.dispatch_request()
  2210. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  2211. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  2212. File "/workspace/main.py", line 45, in home
  2213. "predictions": predict_single_image(image_url),
  2214. File "/workspace/main.py", line 20, in predict_single_image
  2215. results = model(image_url)
  2216. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  2217. return self.predict(source, stream, **kwargs)
  2218. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  2219. return func(*args, **kwargs)
  2220. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  2221. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  2222. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  2223. return list(self.stream_inference(source, model)) # merge list of Result into one
  2224. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  2225. response = gen.send(None)
  2226. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  2227. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  2228. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  2229. self.forward(im) # warmup
  2230. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  2231. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  2232. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2233. return forward_call(*args, **kwargs)
  2234. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  2235. return self.predict(x, *args, **kwargs)
  2236. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  2237. return self._predict_once(x, profile, visualize)
  2238. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  2239. x = m(x) # run
  2240. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2241. return forward_call(*args, **kwargs)
  2242. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  2243. return self.act(self.conv(x))
  2244. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2245. return forward_call(*args, **kwargs)
  2246. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  2247. return self._conv_forward(input, self.weight, self.bias)
  2248. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  2249. return F.conv2d(input, weight, bias, self.stride,
  2250. RuntimeError: cuDNN error: CUDNN_STATUS_INTERNAL_ERROR
  2251. Traceback (most recent call last):
  2252. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  2253. return self.wsgi_app(environ, start_response)
  2254. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  2255. response = self.handle_exception(e)
  2256. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  2257. response = self.full_dispatch_request()
  2258. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  2259. rv = self.handle_user_exception(e)
  2260. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  2261. rv = self.dispatch_request()
  2262. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  2263. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  2264. File "/workspace/main.py", line 45, in home
  2265. "predictions": predict_single_image(image_url),
  2266. File "/workspace/main.py", line 20, in predict_single_image
  2267. results = model(image_url)
  2268. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  2269. return self.predict(source, stream, **kwargs)
  2270. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  2271. return func(*args, **kwargs)
  2272. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  2273. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  2274. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  2275. return list(self.stream_inference(source, model)) # merge list of Result into one
  2276. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  2277. response = gen.send(None)
  2278. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  2279. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  2280. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  2281. self.forward(im) # warmup
  2282. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  2283. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  2284. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2285. return forward_call(*args, **kwargs)
  2286. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  2287. return self.predict(x, *args, **kwargs)
  2288. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  2289. return self._predict_once(x, profile, visualize)
  2290. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  2291. x = m(x) # run
  2292. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2293. return forward_call(*args, **kwargs)
  2294. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  2295. return self.act(self.conv(x))
  2296. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2297. return forward_call(*args, **kwargs)
  2298. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  2299. return self._conv_forward(input, self.weight, self.bias)
  2300. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  2301. return F.conv2d(input, weight, bias, self.stride,
  2302. RuntimeError: CUDA error: an illegal memory access was encountered
  2303. CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
  2304. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
  2305. Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
  2306.  
  2307. Traceback (most recent call last):
  2308. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  2309. return self.wsgi_app(environ, start_response)
  2310. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  2311. response = self.handle_exception(e)
  2312. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  2313. response = self.full_dispatch_request()
  2314. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  2315. rv = self.handle_user_exception(e)
  2316. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  2317. rv = self.dispatch_request()
  2318. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  2319. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  2320. File "/workspace/main.py", line 45, in home
  2321. "predictions": predict_single_image(image_url),
  2322. File "/workspace/main.py", line 20, in predict_single_image
  2323. results = model(image_url)
  2324. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  2325. return self.predict(source, stream, **kwargs)
  2326. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  2327. return func(*args, **kwargs)
  2328. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  2329. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  2330. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  2331. return list(self.stream_inference(source, model)) # merge list of Result into one
  2332. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  2333. response = gen.send(None)
  2334. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  2335. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  2336. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  2337. self.forward(im) # warmup
  2338. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  2339. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  2340. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2341. return forward_call(*args, **kwargs)
  2342. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  2343. return self.predict(x, *args, **kwargs)
  2344. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  2345. return self._predict_once(x, profile, visualize)
  2346. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  2347. x = m(x) # run
  2348. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2349. return forward_call(*args, **kwargs)
  2350. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  2351. return self.act(self.conv(x))
  2352. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2353. return forward_call(*args, **kwargs)
  2354. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  2355. return self._conv_forward(input, self.weight, self.bias)
  2356. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  2357. return F.conv2d(input, weight, bias, self.stride,
  2358. RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
  2359. Traceback (most recent call last):
  2360. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  2361. return self.wsgi_app(environ, start_response)
  2362. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  2363. response = self.handle_exception(e)
  2364. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  2365. response = self.full_dispatch_request()
  2366. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  2367. rv = self.handle_user_exception(e)
  2368. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  2369. rv = self.dispatch_request()
  2370. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  2371. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  2372. File "/workspace/main.py", line 45, in home
  2373. "predictions": predict_single_image(image_url),
  2374. File "/workspace/main.py", line 20, in predict_single_image
  2375. results = model(image_url)
  2376. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  2377. return self.predict(source, stream, **kwargs)
  2378. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  2379. return func(*args, **kwargs)
  2380. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  2381. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  2382. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  2383. return list(self.stream_inference(source, model)) # merge list of Result into one
  2384. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  2385. response = gen.send(None)
  2386. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  2387. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  2388. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  2389. self.forward(im) # warmup
  2390. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  2391. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  2392. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2393. return forward_call(*args, **kwargs)
  2394. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  2395. return self.predict(x, *args, **kwargs)
  2396. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  2397. return self._predict_once(x, profile, visualize)
  2398. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  2399. x = m(x) # run
  2400. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2401. return forward_call(*args, **kwargs)
  2402. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  2403. return self.act(self.conv(x))
  2404. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2405. return forward_call(*args, **kwargs)
  2406. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  2407. return self._conv_forward(input, self.weight, self.bias)
  2408. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  2409. return F.conv2d(input, weight, bias, self.stride,
  2410. RuntimeError: cuDNN error: CUDNN_STATUS_INTERNAL_ERROR
  2411. Traceback (most recent call last):
  2412. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  2413. return self.wsgi_app(environ, start_response)
  2414. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  2415. response = self.handle_exception(e)
  2416. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  2417. response = self.full_dispatch_request()
  2418. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  2419. rv = self.handle_user_exception(e)
  2420. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  2421. rv = self.dispatch_request()
  2422. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  2423. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  2424. File "/workspace/main.py", line 45, in home
  2425. "predictions": predict_single_image(image_url),
  2426. File "/workspace/main.py", line 20, in predict_single_image
  2427. results = model(image_url)
  2428. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  2429. return self.predict(source, stream, **kwargs)
  2430. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  2431. return func(*args, **kwargs)
  2432. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  2433. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  2434. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  2435. return list(self.stream_inference(source, model)) # merge list of Result into one
  2436. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  2437. response = gen.send(None)
  2438. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  2439. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  2440. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  2441. self.forward(im) # warmup
  2442. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  2443. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  2444. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2445. return forward_call(*args, **kwargs)
  2446. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  2447. return self.predict(x, *args, **kwargs)
  2448. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  2449. return self._predict_once(x, profile, visualize)
  2450. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  2451. x = m(x) # run
  2452. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2453. return forward_call(*args, **kwargs)
  2454. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  2455. return self.act(self.conv(x))
  2456. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2457. return forward_call(*args, **kwargs)
  2458. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  2459. return self._conv_forward(input, self.weight, self.bias)
  2460. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  2461. return F.conv2d(input, weight, bias, self.stride,
  2462. RuntimeError: CUDA error: an illegal memory access was encountered
  2463. CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
  2464. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
  2465. Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
  2466.  
  2467. Traceback (most recent call last):
  2468. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  2469. return self.wsgi_app(environ, start_response)
  2470. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  2471. response = self.handle_exception(e)
  2472. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  2473. response = self.full_dispatch_request()
  2474. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  2475. rv = self.handle_user_exception(e)
  2476. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  2477. rv = self.dispatch_request()
  2478. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  2479. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  2480. File "/workspace/main.py", line 45, in home
  2481. "predictions": predict_single_image(image_url),
  2482. File "/workspace/main.py", line 20, in predict_single_image
  2483. results = model(image_url)
  2484. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  2485. return self.predict(source, stream, **kwargs)
  2486. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  2487. return func(*args, **kwargs)
  2488. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  2489. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  2490. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  2491. return list(self.stream_inference(source, model)) # merge list of Result into one
  2492. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  2493. response = gen.send(None)
  2494. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  2495. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  2496. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  2497. self.forward(im) # warmup
  2498. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  2499. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  2500. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2501. return forward_call(*args, **kwargs)
  2502. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  2503. return self.predict(x, *args, **kwargs)
  2504. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  2505. return self._predict_once(x, profile, visualize)
  2506. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  2507. x = m(x) # run
  2508. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2509. return forward_call(*args, **kwargs)
  2510. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  2511. return self.act(self.conv(x))
  2512. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2513. return forward_call(*args, **kwargs)
  2514. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  2515. return self._conv_forward(input, self.weight, self.bias)
  2516. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  2517. return F.conv2d(input, weight, bias, self.stride,
  2518. RuntimeError: cuDNN error: CUDNN_STATUS_INTERNAL_ERROR
  2519. Traceback (most recent call last):
  2520. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  2521. return self.wsgi_app(environ, start_response)
  2522. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  2523. response = self.handle_exception(e)
  2524. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  2525. response = self.full_dispatch_request()
  2526. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  2527. rv = self.handle_user_exception(e)
  2528. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  2529. rv = self.dispatch_request()
  2530. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  2531. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  2532. File "/workspace/main.py", line 45, in home
  2533. "predictions": predict_single_image(image_url),
  2534. File "/workspace/main.py", line 20, in predict_single_image
  2535. results = model(image_url)
  2536. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  2537. return self.predict(source, stream, **kwargs)
  2538. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  2539. return func(*args, **kwargs)
  2540. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  2541. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  2542. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  2543. return list(self.stream_inference(source, model)) # merge list of Result into one
  2544. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  2545. response = gen.send(None)
  2546. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  2547. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  2548. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  2549. self.forward(im) # warmup
  2550. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  2551. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  2552. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2553. return forward_call(*args, **kwargs)
  2554. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  2555. return self.predict(x, *args, **kwargs)
  2556. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  2557. return self._predict_once(x, profile, visualize)
  2558. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  2559. x = m(x) # run
  2560. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2561. return forward_call(*args, **kwargs)
  2562. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  2563. return self.act(self.conv(x))
  2564. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2565. return forward_call(*args, **kwargs)
  2566. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  2567. return self._conv_forward(input, self.weight, self.bias)
  2568. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  2569. return F.conv2d(input, weight, bias, self.stride,
  2570. RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
  2571. Traceback (most recent call last):
  2572. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  2573. return self.wsgi_app(environ, start_response)
  2574. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  2575. response = self.handle_exception(e)
  2576. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  2577. response = self.full_dispatch_request()
  2578. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  2579. rv = self.handle_user_exception(e)
  2580. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  2581. rv = self.dispatch_request()
  2582. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  2583. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  2584. File "/workspace/main.py", line 45, in home
  2585. "predictions": predict_single_image(image_url),
  2586. File "/workspace/main.py", line 20, in predict_single_image
  2587. results = model(image_url)
  2588. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  2589. return self.predict(source, stream, **kwargs)
  2590. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  2591. return func(*args, **kwargs)
  2592. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  2593. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  2594. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  2595. return list(self.stream_inference(source, model)) # merge list of Result into one
  2596. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  2597. response = gen.send(None)
  2598. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  2599. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  2600. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  2601. self.forward(im) # warmup
  2602. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  2603. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  2604. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2605. return forward_call(*args, **kwargs)
  2606. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  2607. return self.predict(x, *args, **kwargs)
  2608. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  2609. return self._predict_once(x, profile, visualize)
  2610. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  2611. x = m(x) # run
  2612. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2613. return forward_call(*args, **kwargs)
  2614. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  2615. return self.act(self.conv(x))
  2616. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2617. return forward_call(*args, **kwargs)
  2618. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  2619. return self._conv_forward(input, self.weight, self.bias)
  2620. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  2621. return F.conv2d(input, weight, bias, self.stride,
  2622. RuntimeError: cuDNN error: CUDNN_STATUS_INTERNAL_ERROR
  2623. Traceback (most recent call last):
  2624. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  2625. return self.wsgi_app(environ, start_response)
  2626. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  2627. response = self.handle_exception(e)
  2628. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  2629. response = self.full_dispatch_request()
  2630. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  2631. rv = self.handle_user_exception(e)
  2632. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  2633. rv = self.dispatch_request()
  2634. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  2635. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  2636. File "/workspace/main.py", line 45, in home
  2637. "predictions": predict_single_image(image_url),
  2638. File "/workspace/main.py", line 20, in predict_single_image
  2639. results = model(image_url)
  2640. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  2641. return self.predict(source, stream, **kwargs)
  2642. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  2643. return func(*args, **kwargs)
  2644. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  2645. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  2646. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  2647. return list(self.stream_inference(source, model)) # merge list of Result into one
  2648. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  2649. response = gen.send(None)
  2650. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  2651. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  2652. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  2653. self.forward(im) # warmup
  2654. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  2655. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  2656. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2657. return forward_call(*args, **kwargs)
  2658. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  2659. return self.predict(x, *args, **kwargs)
  2660. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  2661. return self._predict_once(x, profile, visualize)
  2662. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  2663. x = m(x) # run
  2664. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2665. return forward_call(*args, **kwargs)
  2666. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/block.py", line 180, in forward
  2667. y = list(self.cv1(x).chunk(2, 1))
  2668. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2669. return forward_call(*args, **kwargs)
  2670. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  2671. return self.act(self.conv(x))
  2672. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2673. return forward_call(*args, **kwargs)
  2674. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  2675. return self._conv_forward(input, self.weight, self.bias)
  2676. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  2677. return F.conv2d(input, weight, bias, self.stride,
  2678. RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
  2679. Traceback (most recent call last):
  2680. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  2681. return self.wsgi_app(environ, start_response)
  2682. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  2683. response = self.handle_exception(e)
  2684. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  2685. response = self.full_dispatch_request()
  2686. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  2687. rv = self.handle_user_exception(e)
  2688. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  2689. rv = self.dispatch_request()
  2690. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  2691. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  2692. File "/workspace/main.py", line 45, in home
  2693. "predictions": predict_single_image(image_url),
  2694. File "/workspace/main.py", line 20, in predict_single_image
  2695. results = model(image_url)
  2696. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  2697. return self.predict(source, stream, **kwargs)
  2698. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  2699. return func(*args, **kwargs)
  2700. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  2701. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  2702. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  2703. return list(self.stream_inference(source, model)) # merge list of Result into one
  2704. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  2705. response = gen.send(None)
  2706. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  2707. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  2708. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  2709. self.forward(im) # warmup
  2710. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  2711. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  2712. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2713. return forward_call(*args, **kwargs)
  2714. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  2715. return self.predict(x, *args, **kwargs)
  2716. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  2717. return self._predict_once(x, profile, visualize)
  2718. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  2719. x = m(x) # run
  2720. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2721. return forward_call(*args, **kwargs)
  2722. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/block.py", line 180, in forward
  2723. y = list(self.cv1(x).chunk(2, 1))
  2724. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2725. return forward_call(*args, **kwargs)
  2726. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  2727. return self.act(self.conv(x))
  2728. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2729. return forward_call(*args, **kwargs)
  2730. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  2731. return self._conv_forward(input, self.weight, self.bias)
  2732. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  2733. return F.conv2d(input, weight, bias, self.stride,
  2734. RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
  2735. Traceback (most recent call last):
  2736. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  2737. return self.wsgi_app(environ, start_response)
  2738. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  2739. response = self.handle_exception(e)
  2740. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  2741. response = self.full_dispatch_request()
  2742. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  2743. rv = self.handle_user_exception(e)
  2744. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  2745. rv = self.dispatch_request()
  2746. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  2747. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  2748. File "/workspace/main.py", line 45, in home
  2749. "predictions": predict_single_image(image_url),
  2750. File "/workspace/main.py", line 20, in predict_single_image
  2751. results = model(image_url)
  2752. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  2753. return self.predict(source, stream, **kwargs)
  2754. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  2755. return func(*args, **kwargs)
  2756. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  2757. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  2758. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  2759. return list(self.stream_inference(source, model)) # merge list of Result into one
  2760. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  2761. response = gen.send(None)
  2762. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  2763. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  2764. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  2765. self.forward(im) # warmup
  2766. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  2767. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  2768. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2769. return forward_call(*args, **kwargs)
  2770. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  2771. return self.predict(x, *args, **kwargs)
  2772. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  2773. return self._predict_once(x, profile, visualize)
  2774. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  2775. x = m(x) # run
  2776. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2777. return forward_call(*args, **kwargs)
  2778. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  2779. return self.act(self.conv(x))
  2780. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2781. return forward_call(*args, **kwargs)
  2782. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  2783. return self._conv_forward(input, self.weight, self.bias)
  2784. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  2785. return F.conv2d(input, weight, bias, self.stride,
  2786. RuntimeError: cuDNN error: CUDNN_STATUS_INTERNAL_ERROR
  2787. Traceback (most recent call last):
  2788. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  2789. return self.wsgi_app(environ, start_response)
  2790. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  2791. response = self.handle_exception(e)
  2792. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  2793. response = self.full_dispatch_request()
  2794. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  2795. rv = self.handle_user_exception(e)
  2796. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  2797. rv = self.dispatch_request()
  2798. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  2799. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  2800. File "/workspace/main.py", line 45, in home
  2801. "predictions": predict_single_image(image_url),
  2802. File "/workspace/main.py", line 20, in predict_single_image
  2803. results = model(image_url)
  2804. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  2805. return self.predict(source, stream, **kwargs)
  2806. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  2807. return func(*args, **kwargs)
  2808. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  2809. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  2810. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  2811. return list(self.stream_inference(source, model)) # merge list of Result into one
  2812. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  2813. response = gen.send(None)
  2814. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  2815. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  2816. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  2817. self.forward(im) # warmup
  2818. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  2819. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  2820. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2821. return forward_call(*args, **kwargs)
  2822. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  2823. return self.predict(x, *args, **kwargs)
  2824. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  2825. return self._predict_once(x, profile, visualize)
  2826. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  2827. x = m(x) # run
  2828. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2829. return forward_call(*args, **kwargs)
  2830. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/block.py", line 180, in forward
  2831. y = list(self.cv1(x).chunk(2, 1))
  2832. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2833. return forward_call(*args, **kwargs)
  2834. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  2835. return self.act(self.conv(x))
  2836. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2837. return forward_call(*args, **kwargs)
  2838. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  2839. return self._conv_forward(input, self.weight, self.bias)
  2840. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  2841. return F.conv2d(input, weight, bias, self.stride,
  2842. RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
  2843. Traceback (most recent call last):
  2844. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  2845. return self.wsgi_app(environ, start_response)
  2846. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  2847. response = self.handle_exception(e)
  2848. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  2849. response = self.full_dispatch_request()
  2850. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  2851. rv = self.handle_user_exception(e)
  2852. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  2853. rv = self.dispatch_request()
  2854. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  2855. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  2856. File "/workspace/main.py", line 45, in home
  2857. "predictions": predict_single_image(image_url),
  2858. File "/workspace/main.py", line 20, in predict_single_image
  2859. results = model(image_url)
  2860. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  2861. return self.predict(source, stream, **kwargs)
  2862. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  2863. return func(*args, **kwargs)
  2864. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  2865. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  2866. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  2867. return list(self.stream_inference(source, model)) # merge list of Result into one
  2868. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  2869. response = gen.send(None)
  2870. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  2871. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  2872. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  2873. self.forward(im) # warmup
  2874. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  2875. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  2876. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2877. return forward_call(*args, **kwargs)
  2878. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  2879. return self.predict(x, *args, **kwargs)
  2880. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  2881. return self._predict_once(x, profile, visualize)
  2882. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  2883. x = m(x) # run
  2884. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2885. return forward_call(*args, **kwargs)
  2886. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  2887. return self.act(self.conv(x))
  2888. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2889. return forward_call(*args, **kwargs)
  2890. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  2891. return self._conv_forward(input, self.weight, self.bias)
  2892. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  2893. return F.conv2d(input, weight, bias, self.stride,
  2894. RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
  2895. Traceback (most recent call last):
  2896. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  2897. return self.wsgi_app(environ, start_response)
  2898. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  2899. response = self.handle_exception(e)
  2900. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  2901. response = self.full_dispatch_request()
  2902. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  2903. rv = self.handle_user_exception(e)
  2904. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  2905. rv = self.dispatch_request()
  2906. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  2907. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  2908. File "/workspace/main.py", line 45, in home
  2909. "predictions": predict_single_image(image_url),
  2910. File "/workspace/main.py", line 20, in predict_single_image
  2911. results = model(image_url)
  2912. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  2913. return self.predict(source, stream, **kwargs)
  2914. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  2915. return func(*args, **kwargs)
  2916. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  2917. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  2918. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  2919. return list(self.stream_inference(source, model)) # merge list of Result into one
  2920. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  2921. response = gen.send(None)
  2922. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  2923. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  2924. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  2925. self.forward(im) # warmup
  2926. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  2927. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  2928. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2929. return forward_call(*args, **kwargs)
  2930. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  2931. return self.predict(x, *args, **kwargs)
  2932. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  2933. return self._predict_once(x, profile, visualize)
  2934. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  2935. x = m(x) # run
  2936. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2937. return forward_call(*args, **kwargs)
  2938. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/block.py", line 180, in forward
  2939. y = list(self.cv1(x).chunk(2, 1))
  2940. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2941. return forward_call(*args, **kwargs)
  2942. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  2943. return self.act(self.conv(x))
  2944. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2945. return forward_call(*args, **kwargs)
  2946. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  2947. return self._conv_forward(input, self.weight, self.bias)
  2948. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  2949. return F.conv2d(input, weight, bias, self.stride,
  2950. RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
  2951. Traceback (most recent call last):
  2952. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  2953. return self.wsgi_app(environ, start_response)
  2954. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  2955. response = self.handle_exception(e)
  2956. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  2957. response = self.full_dispatch_request()
  2958. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  2959. rv = self.handle_user_exception(e)
  2960. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  2961. rv = self.dispatch_request()
  2962. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  2963. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  2964. File "/workspace/main.py", line 45, in home
  2965. "predictions": predict_single_image(image_url),
  2966. File "/workspace/main.py", line 20, in predict_single_image
  2967. results = model(image_url)
  2968. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  2969. return self.predict(source, stream, **kwargs)
  2970. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  2971. return func(*args, **kwargs)
  2972. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  2973. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  2974. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  2975. return list(self.stream_inference(source, model)) # merge list of Result into one
  2976. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  2977. response = gen.send(None)
  2978. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  2979. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  2980. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  2981. self.forward(im) # warmup
  2982. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  2983. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  2984. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2985. return forward_call(*args, **kwargs)
  2986. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  2987. return self.predict(x, *args, **kwargs)
  2988. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  2989. return self._predict_once(x, profile, visualize)
  2990. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  2991. x = m(x) # run
  2992. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2993. return forward_call(*args, **kwargs)
  2994. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  2995. return self.act(self.conv(x))
  2996. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  2997. return forward_call(*args, **kwargs)
  2998. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  2999. return self._conv_forward(input, self.weight, self.bias)
  3000. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  3001. return F.conv2d(input, weight, bias, self.stride,
  3002. RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED
  3003. Traceback (most recent call last):
  3004. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  3005. return self.wsgi_app(environ, start_response)
  3006. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  3007. response = self.handle_exception(e)
  3008. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  3009. response = self.full_dispatch_request()
  3010. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  3011. rv = self.handle_user_exception(e)
  3012. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  3013. rv = self.dispatch_request()
  3014. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  3015. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  3016. File "/workspace/main.py", line 45, in home
  3017. "predictions": predict_single_image(image_url),
  3018. File "/workspace/main.py", line 20, in predict_single_image
  3019. results = model(image_url)
  3020. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  3021. return self.predict(source, stream, **kwargs)
  3022. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  3023. return func(*args, **kwargs)
  3024. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  3025. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  3026. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  3027. return list(self.stream_inference(source, model)) # merge list of Result into one
  3028. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  3029. response = gen.send(None)
  3030. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  3031. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  3032. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  3033. self.forward(im) # warmup
  3034. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  3035. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  3036. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  3037. return forward_call(*args, **kwargs)
  3038. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  3039. return self.predict(x, *args, **kwargs)
  3040. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  3041. return self._predict_once(x, profile, visualize)
  3042. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  3043. x = m(x) # run
  3044. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  3045. return forward_call(*args, **kwargs)
  3046. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/block.py", line 180, in forward
  3047. y = list(self.cv1(x).chunk(2, 1))
  3048. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  3049. return forward_call(*args, **kwargs)
  3050. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  3051. return self.act(self.conv(x))
  3052. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  3053. return forward_call(*args, **kwargs)
  3054. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  3055. return self._conv_forward(input, self.weight, self.bias)
  3056. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  3057. return F.conv2d(input, weight, bias, self.stride,
  3058. RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
  3059. Traceback (most recent call last):
  3060. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  3061. return self.wsgi_app(environ, start_response)
  3062. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  3063. response = self.handle_exception(e)
  3064. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  3065. response = self.full_dispatch_request()
  3066. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  3067. rv = self.handle_user_exception(e)
  3068. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  3069. rv = self.dispatch_request()
  3070. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  3071. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  3072. File "/workspace/main.py", line 45, in home
  3073. "predictions": predict_single_image(image_url),
  3074. File "/workspace/main.py", line 20, in predict_single_image
  3075. results = model(image_url)
  3076. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  3077. return self.predict(source, stream, **kwargs)
  3078. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  3079. return func(*args, **kwargs)
  3080. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  3081. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  3082. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  3083. return list(self.stream_inference(source, model)) # merge list of Result into one
  3084. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  3085. response = gen.send(None)
  3086. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  3087. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  3088. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  3089. self.forward(im) # warmup
  3090. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  3091. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  3092. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  3093. return forward_call(*args, **kwargs)
  3094. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  3095. return self.predict(x, *args, **kwargs)
  3096. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  3097. return self._predict_once(x, profile, visualize)
  3098. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  3099. x = m(x) # run
  3100. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  3101. return forward_call(*args, **kwargs)
  3102. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  3103. return self.act(self.conv(x))
  3104. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  3105. return forward_call(*args, **kwargs)
  3106. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  3107. return self._conv_forward(input, self.weight, self.bias)
  3108. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  3109. return F.conv2d(input, weight, bias, self.stride,
  3110. RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
  3111. Traceback (most recent call last):
  3112. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2213, in __call__
  3113. return self.wsgi_app(environ, start_response)
  3114. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2193, in wsgi_app
  3115. response = self.handle_exception(e)
  3116. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
  3117. response = self.full_dispatch_request()
  3118. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
  3119. rv = self.handle_user_exception(e)
  3120. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
  3121. rv = self.dispatch_request()
  3122. File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
  3123. return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  3124. File "/workspace/main.py", line 45, in home
  3125. "predictions": predict_single_image(image_url),
  3126. File "/workspace/main.py", line 20, in predict_single_image
  3127. results = model(image_url)
  3128. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 111, in __call__
  3129. return self.predict(source, stream, **kwargs)
  3130. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
  3131. return func(*args, **kwargs)
  3132. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/model.py", line 253, in predict
  3133. return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
  3134. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 184, in __call__
  3135. return list(self.stream_inference(source, model)) # merge list of Result into one
  3136. File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 35, in generator_context
  3137. response = gen.send(None)
  3138. File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 222, in stream_inference
  3139. self.model.warmup(imgsz=(1 if self.model.pt or self.model.triton else self.dataset.bs, 3, *self.imgsz))
  3140. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 428, in warmup
  3141. self.forward(im) # warmup
  3142. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 314, in forward
  3143. y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
  3144. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  3145. return forward_call(*args, **kwargs)
  3146. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 45, in forward
  3147. return self.predict(x, *args, **kwargs)
  3148. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 62, in predict
  3149. return self._predict_once(x, profile, visualize)
  3150. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 82, in _predict_once
  3151. x = m(x) # run
  3152. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  3153. return forward_call(*args, **kwargs)
  3154. File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/modules/conv.py", line 42, in forward_fuse
  3155. return self.act(self.conv(x))
  3156. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  3157. return forward_call(*args, **kwargs)
  3158. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 463, in forward
  3159. return self._conv_forward(input, self.weight, self.bias)
  3160. File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
  3161. return F.conv2d(input, weight, bias, self.stride,
  3162. RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement