OK, I get that it will restart on it's own.
However, what about these errors? This is a new install, uninstalled YOLOv8 and reinstalled it.
When it starts, I get the following (maybe I shouldn't be concerned about it...but maybe others are seeing it as well...or maybe you just need to know it)
Here is what I see - HINT: LOOK AT 9:45:19 timestamp :
09:44:20:Server: This is the latest version
09:44:21:
09:44:21:Module 'Object Detection (YOLOv8)' 1.4.2 (ID: ObjectDetectionYOLOv8)
09:44:21:Valid: True
09:44:21:Module Path: <root>/modules/ObjectDetectionYOLOv8
09:44:21:AutoStart: True
09:44:21:Queue: objectdetection_queue
09:44:21:Runtime: python3.8
09:44:21:Runtime Loc: Shared
09:44:21:FilePath: detect_adapter.py
09:44:21:Start pause: 1 sec
09:44:21:Parallelism: 0
09:44:21:LogVerbosity:
09:44:21:Platforms: all
09:44:21:GPU Libraries: installed if available
09:44:21:GPU Enabled: enabled
09:44:21:Accelerator:
09:44:21:Half Precis.: enable
09:44:21:Environment Variables
09:44:21:APPDIR = <root>/modules/ObjectDetectionYOLOv8
09:44:21:CUSTOM_MODELS_DIR = <root>/modules/ObjectDetectionYOLOv8/custom-models
09:44:21:MODELS_DIR = <root>/modules/ObjectDetectionYOLOv8/assets
09:44:21:MODEL_SIZE = Medium
09:44:21:USE_CUDA = True
09:44:21:YOLO_VERBOSE = false
09:44:21:
09:44:21:Started Object Detection (YOLOv8) module
09:44:23:face.py: GPU in use: NVIDIA GeForce RTX 3070
09:45:19:Object Detection (YOLOv8): [AttributeError] : Traceback (most recent call last):
File "/app/modules/ObjectDetectionYOLOv8/detect.py", line 147, in do_detection
results = detector.predict(img, imgsz=resolution, half=use_half_precision,
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/engine/model.py", line 266, in predict
self.predictor.setup_model(model=self.model, verbose=is_cli)
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/engine/predictor.py", line 341, in setup_model
self.model = AutoBackend(
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/nn/autobackend.py", line 141, in __init__
model = model.fuse(verbose=verbose) if fuse else model
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/nn/tasks.py", line 176, in fuse
delattr(m, "bn") # remove batchnorm
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1266, in __delattr__
object.__delattr__(self, name)
AttributeError: bn
09:45:20:Object Detection (YOLOv8): [AttributeError] : Traceback (most recent call last):
File "/app/modules/ObjectDetectionYOLOv8/detect.py", line 147, in do_detection
results = detector.predict(img, imgsz=resolution, half=use_half_precision,
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/engine/model.py", line 266, in predict
self.predictor.setup_model(model=self.model, verbose=is_cli)
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/engine/predictor.py", line 341, in setup_model
self.model = AutoBackend(
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/nn/autobackend.py", line 141, in __init__
model = model.fuse(verbose=verbose) if fuse else model
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/nn/tasks.py", line 176, in fuse
delattr(m, "bn") # remove batchnorm
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1266, in __delattr__
object.__delattr__(self, name)
AttributeError: bn
09:45:20:Object Detection (YOLOv8): [AttributeError] : Traceback (most recent call last):
File "/app/modules/ObjectDetectionYOLOv8/detect.py", line 147, in do_detection
results = detector.predict(img, imgsz=resolution, half=use_half_precision,
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/engine/model.py", line 266, in predict
self.predictor.setup_model(model=self.model, verbose=is_cli)
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/engine/predictor.py", line 341, in setup_model
self.model = AutoBackend(
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/nn/autobackend.py", line 141, in __init__
model = model.fuse(verbose=verbose) if fuse else model
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/nn/tasks.py", line 176, in fuse
delattr(m, "bn") # remove batchnorm
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1266, in __delattr__
object.__delattr__(self, name)
AttributeError: bn
09:45:20:Object Detection (YOLOv8): [AttributeError] : Traceback (most recent call last):
File "/app/modules/ObjectDetectionYOLOv8/detect.py", line 147, in do_detection
results = detector.predict(img, imgsz=resolution, half=use_half_precision,
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/engine/model.py", line 266, in predict
self.predictor.setup_model(model=self.model, verbose=is_cli)
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/engine/predictor.py", line 341, in setup_model
self.model = AutoBackend(
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/nn/autobackend.py", line 141, in __init__
model = model.fuse(verbose=verbose) if fuse else model
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/nn/tasks.py", line 176, in fuse
delattr(m, "bn") # remove batchnorm
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1266, in __delattr__
object.__delattr__(self, name)
AttributeError: bn
09:45:20:Response rec'd from Object Detection (YOLOv8) command 'detect' (...7832cb)
09:45:20:Response rec'd from Object Detection (YOLOv8) command 'detect' (...c4899c)
09:45:20:Response rec'd from Object Detection (YOLOv8) command 'detect' (...345625)
09:45:20:Object Detection (YOLOv8): [AttributeError] : Traceback (most recent call last):
File "/app/modules/ObjectDetectionYOLOv8/detect.py", line 147, in do_detection
results = detector.predict(img, imgsz=resolution, half=use_half_precision,
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/engine/model.py", line 266, in predict
self.predictor.setup_model(model=self.model, verbose=is_cli)
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/engine/predictor.py", line 341, in setup_model
self.model = AutoBackend(
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/nn/autobackend.py", line 141, in __init__
model = model.fuse(verbose=verbose) if fuse else model
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/nn/tasks.py", line 176, in fuse
delattr(m, "bn") # remove batchnorm
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1266, in __delattr__
object.__delattr__(self, name)
AttributeError: bn
09:45:20:Object Detection (YOLOv8): [AttributeError] : Traceback (most recent call last):
File "/app/modules/ObjectDetectionYOLOv8/detect.py", line 147, in do_detection
results = detector.predict(img, imgsz=resolution, half=use_half_precision,
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/engine/model.py", line 266, in predict
self.predictor.setup_model(model=self.model, verbose=is_cli)
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/engine/predictor.py", line 341, in setup_model
self.model = AutoBackend(
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/nn/autobackend.py", line 141, in __init__
model = model.fuse(verbose=verbose) if fuse else model
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/nn/tasks.py", line 176, in fuse
delattr(m, "bn") # remove batchnorm
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1266, in __delattr__
object.__delattr__(self, name)
AttributeError: bn
09:45:20:Object Detection (YOLOv8): [AttributeError] : Traceback (most recent call last):
File "/app/modules/ObjectDetectionYOLOv8/detect.py", line 147, in do_detection
results = detector.predict(img, imgsz=resolution, half=use_half_precision,
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/engine/model.py", line 266, in predict
self.predictor.setup_model(model=self.model, verbose=is_cli)
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/engine/predictor.py", line 341, in setup_model
self.model = AutoBackend(
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/nn/autobackend.py", line 141, in __init__
model = model.fuse(verbose=verbose) if fuse else model
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/nn/tasks.py", line 176, in fuse
delattr(m, "bn") # remove batchnorm
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1266, in __delattr__
object.__delattr__(self, name)
AttributeError: bn
09:45:20:Object Detection (YOLOv8): [AttributeError] : Traceback (most recent call last):
File "/app/modules/ObjectDetectionYOLOv8/detect.py", line 147, in do_detection
results = detector.predict(img, imgsz=resolution, half=use_half_precision,
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/engine/model.py", line 266, in predict
self.predictor.setup_model(model=self.model, verbose=is_cli)
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/engine/predictor.py", line 341, in setup_model
self.model = AutoBackend(
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/nn/autobackend.py", line 141, in __init__
model = model.fuse(verbose=verbose) if fuse else model
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/nn/tasks.py", line 176, in fuse
delattr(m, "bn") # remove batchnorm
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1266, in __delattr__
object.__delattr__(self, name)
AttributeError: bn
09:45:20:Object Detection (YOLOv8): [AttributeError] : Traceback (most recent call last):
File "/app/modules/ObjectDetectionYOLOv8/detect.py", line 147, in do_detection
results = detector.predict(img, imgsz=resolution, half=use_half_precision,
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/engine/model.py", line 266, in predict
self.predictor.setup_model(model=self.model, verbose=is_cli)
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/engine/predictor.py", line 341, in setup_model
self.model = AutoBackend(
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/nn/autobackend.py", line 141, in __init__
model = model.fuse(verbose=verbose) if fuse else model
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/nn/tasks.py", line 176, in fuse
delattr(m, "bn") # remove batchnorm
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1266, in __delattr__
object.__delattr__(self, name)
AttributeError: bn
09:45:20:Object Detection (YOLOv8): [AttributeError] : Traceback (most recent call last):
File "/app/modules/ObjectDetectionYOLOv8/detect.py", line 147, in do_detection
results = detector.predict(img, imgsz=resolution, half=use_half_precision,
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/engine/model.py", line 266, in predict
self.predictor.setup_model(model=self.model, verbose=is_cli)
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/engine/predictor.py", line 341, in setup_model
self.model = AutoBackend(
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/nn/autobackend.py", line 141, in __init__
model = model.fuse(verbose=verbose) if fuse else model
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/ultralytics/nn/tasks.py", line 176, in fuse
delattr(m, "bn") # remove batchnorm
File "/app/modules/ObjectDetectionYOLOv8/bin/linux/python38/venv/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1266, in __delattr__
object.__delattr__(self, name)
AttributeError: bn
09:45:36:Response rec'd from Object Detection (YOLOv8) command 'detect' (...226f6d) ['Found chair, chair, tv'] took 13376ms
|