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

where is the 'v8.detect.DetectionValidator'? #13

Open
LZiBee opened this issue Oct 8, 2024 · 9 comments
Open

where is the 'v8.detect.DetectionValidator'? #13

LZiBee opened this issue Oct 8, 2024 · 9 comments

Comments

@LZiBee
Copy link

LZiBee commented Oct 8, 2024

i have replaced the 'ultralytics' folder with this project, however, i cant figure out where this 'v8' folder is ,or this 'DetectionValidator' class is just the class which i can find in val.py?
image

@LZiBee
Copy link
Author

LZiBee commented Oct 8, 2024

i change the way to import, however, new error happend
image
image

@LZiBee
Copy link
Author

LZiBee commented Oct 8, 2024

i change the way to import, however, new error happend image image

the problem finally solved by replacing 'arg['model']' with args.model

@mkang315
Copy link
Owner

Sorry for the late response due to participating in MICCAI 2024. Thank you for sharing the solution to this issue encountered.

@LZiBee
Copy link
Author

LZiBee commented Oct 15, 2024

Sorry for the late response due to participating in MICCAI 2024. Thank you for sharing the solution to this issue encountered.

i also find my way to solve the importing problem.Setting the 'ultralytics' folder as a PYTHONPATH evironment variable , then replace all the '...yolo' '...nn' with 'yolo' and 'nn'. May this can help u.

@mkang315
Copy link
Owner

Good! Thank you for contributing to this project.

@ruiyao123
Copy link

请问如何用这个项目替换 'Ultralytics' 文件夹

@LZiBee
Copy link
Author

LZiBee commented Nov 7, 2024

请问如何用这个项目替换 'Ultralytics' 文件夹

不用替换 直接用用这个就行了

@ruiyao123
Copy link

请问如何用这个项目替换 'Ultralytics' 文件夹

不用替换 直接用用这个就行了
您的意思是把文件夹的名字改成Ultralytics就可以了吗

@LZiBee
Copy link
Author

LZiBee commented Nov 11, 2024

请问如何用这个项目替换 'Ultralytics' 文件夹

不用替换 直接用用这个就行了
您的意思是把文件夹的名字改成Ultralytics就可以了吗

改不改名字应该都可以,我觉得关键点是工作空间和pythonpath变量的设置 根据你的设置把他那些...yolo...hub啥的改一下 例如我直接用这个BGF-YOLO 如我把BGF-YOLO路径加到pythonpath里那引用就用import yolo 因为引用是根据你的工作空间来的

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

3 participants