Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'NoneType' object has no attribute 'create_execution_context' #151

Open
geoxpert0001 opened this issue Jan 7, 2025 · 2 comments

Comments

@geoxpert0001
Copy link

geoxpert0001 commented Jan 7, 2025

作者你好
目前我使用你的專案,將自己訓練yolo11的best.pt轉成engine,然後執行的時候,出現 classname 錯誤,她似乎是用coco本身的classes 如下圖所示
image

請問該如何解決呢,謝謝

@Linaom1214
Copy link
Owner

modify this file

self.class_names = [ 'person', 'bicycle', 'car', 'motorcycle', 'airplane', 'bus', 'train', 'truck', 'boat', 'traffic light',

@geoxpert0001
Copy link
Author

geoxpert0001 commented Jan 9, 2025

想請問一下 作者你的版本跟yolo11官方團隊的TensorRT 差異在哪
因為官方的也有內建 將權重pt轉成engine 因此才會想問倆著差異

還有 為何您的版本沒辦法建立int8 但官方的可以 謝謝

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants