You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you reproduced the bug with TensorFlow Nightly?
No
Source
source
TensorFlow version
2.16.1
Custom code
Yes
OS platform and distribution
Windows
Mobile device
No response
Python version
3.11.9
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
I have encountered a problem while running my custom trained YOLOv8-obb model for object detection using an executable (.exe) file generated with PyInstaller. The model loads properly, but when attempting to perform inference, the code halts without providing any output.
Steps to Reproduce:
Compile YOLOv8-obb model with custom training data.
Generate an executable file using PyInstaller.
Run the executable file on a machine with compatible dependencies.
Attempt object detection using the executable.
Standalone code to reproduce the issue
##current behavior
After running the executable, I expect the object detection process to proceed smoothly and provide the desired output, identifying objects in the input images or videos.
## Actual Behavior
Upon running the executable, the model loads successfully but fails to perform inference. The code halts without providing any output, leaving the object detection process incomplete.
`PyInstaller :6.6.0``Ultralytics: 8.2.2`
I have tried running the code directly without PyInstaller to ensure it's not an issue with the model or code itself. I have checked for any missing dependencies or compatibility issues between PyInstaller and the YOLOv8-obb model. I have tried running the code directly without PyInstaller to ensure it's not an issue with the model or code itself.
I have checked for any missing dependencies or compatibility issues between PyInstaller and the YOLOv8-obb model.
124851 WARNING: Failed to collect submodules for 'keras.src.backend.torch' because importing 'keras.src.backend.torch' raised: AttributeError: module 'torch' has no attribute 'float8_e4m3fn'
The text was updated successfully, but these errors were encountered:
Ensure that the version of PyTorch used by Ultralytics (indirectly through YOLO) is compatible with the other components in your environment. If possible, try downgrading or upgrading PyTorch to a version that is known to work well with YOLOv8-obb and your other dependencies.
Verify if the version of Ultralytics (8.2.2) you are using is compatible with the specific version of YOLOv8-obb you have trained. Sometimes, newer or older versions of object detection frameworks like YOLO may not work seamlessly with the corresponding versions of their supporting libraries. And et us know if the issue still persists?
Hi @Venkat6871
I have tried downgrading the version, also when I run the .py file it is running perfectly but when I convert it to .exe these problem occur.
Issue type
Support
Have you reproduced the bug with TensorFlow Nightly?
No
Source
source
TensorFlow version
2.16.1
Custom code
Yes
OS platform and distribution
Windows
Mobile device
No response
Python version
3.11.9
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
I have encountered a problem while running my custom trained YOLOv8-obb model for object detection using an executable (.exe) file generated with PyInstaller. The model loads properly, but when attempting to perform inference, the code halts without providing any output.
Steps to Reproduce:
Standalone code to reproduce the issue
Relevant log output
124851 WARNING: Failed to collect submodules for 'keras.src.backend.torch' because importing 'keras.src.backend.torch' raised: AttributeError: module 'torch' has no attribute 'float8_e4m3fn'
The text was updated successfully, but these errors were encountered: