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

Unknown model (interfuser_baseline) / CUDA errorv / timm #107

Open
ZyhNoPanic opened this issue Nov 21, 2024 · 2 comments
Open

Unknown model (interfuser_baseline) / CUDA errorv / timm #107

ZyhNoPanic opened this issue Nov 21, 2024 · 2 comments
Labels
good first issue Good for newcomers

Comments

@ZyhNoPanic
Copy link

ZyhNoPanic commented Nov 21, 2024

I am a beginner in end-to-end autonomous driving and am trying to revive the InterFuser project.
My GPU is NVIDIA 4080 Super and it brings me some tough problems which hold me back.
I went through an extremely difficult experience and finally solved them, and now I wanna share it with you all.
If you find some problems in the solution or have better alternative please let me know. I'd appreciate it very much!

sm89 CUDA Capability

At first My CUDA version is 11.4 and Pytorch version is 1.12.x, virtual env with python 3.7 (created by requirements.txt)
BUT NVIDIA 40 Series's CUDA Capability is sm89, and the Traceback suggests that it is not compatible with the current PyTorch.
So some error emerge
3f7d47b5cb228923f6b0ee1419c4fb71
After some research it suggests that sm89 needs CUDA 12.x
So I reinstall CUDA 12.1 and PyTorch which matches it, and find another problem.

PyTorch's oldest version which matches CUDA 12.x doesn't support Python 3.7

It at least need python 3.8
So I didn't listen to README.MD, created env with python 3.8
And this makes requirements.txt-installation meet some conflicts.
I made some adjustments by myself and try to run run_evaluation.sh
And I suspect this is why my timm module was not correctly installed.

No module named 'timm'

This is the third problem, when I run run_evaluation.sh
I first pip install timm, and clearly it didn't work.
Then I find some clue in Issues and find timm version was 0.4.13.
BUT pip install timm==0.4.13 didn't work too.
Just follow the instruction in the Setup section and use \interfuser\setup.py
Missing this may cause errors which doesn't note timm.

BTW, if running run_evaluation.sh with this result

image
just delete the file in InterFuser/results/sample_result.json

Hope that my experience can provide you with some references : )

@deepcs233 deepcs233 added the good first issue Good for newcomers label Nov 25, 2024
@deepcs233
Copy link
Collaborator

Hi!

Thank you so much for your kind help! I’ve added the "good first issue" tag to attract more attention from newcomers and updated the README with the corresponding link. By the way, regarding the installation of timm, we’ve provided detailed instructions in the "Setup" section.

@ZyhNoPanic
Copy link
Author

Thanks for reminding!For some reason, the installation was not successful at the beginning, and I carelessly ignored it later. I've modified origin issue.

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

No branches or pull requests

2 participants