Comments (10)
BTW, the version relationships are kind of ambiguous for pytorch and mmcv stuffs, sometimes even need to test it yourself.
You can try this setup, it works fine for me.
- ubuntu 22.04
nvidia-smi
:12.0sudo apt install -cuda-toolkit
:10.1- torch: 1.8.1+cu101
- torch-scatter: 2.0.7
- torchaudio: 0.8.1
- torchvision: 0.9.1
- mmcv-full: 1.71
- timm: 0.3.2
- mmdet: 2.26.0
- py-trees: 0.8.3
from transfuser.
Segmentation faults are hard to analyse. I would suggest you use a debugger or print statements to find the line of code that crashes, than we can help you better.
from transfuser.
Thanks I will try!
from transfuser.
It seems like the crash is in self.module_agent = importlib.import_module(module_name)
when importing the module_name which is submission_agent.
BTW I run the evaluation in my own computer with a GTX3060 GPU-6GB and 16 GB RAM
from transfuser.
hm that is strange line is just trying to import the agent py file.
Are you using the conda environment from this repository?
WORK_DIR is the work dir variable in the script correct (e.g. does module_name point to the correct file?)
Maybe some second order import problem. If the submission_agent file is executed can you check how far it gets?
from transfuser.
Hi thanks for your reply, the work dir seems fine.
I went deep into the submission_agent.py file it seems like the code crashed at from model import LidarCenterNet
when trying to load the LidarCenterNet
from transfuser.
Failing somewhere specific within LidarCenterNet?
You can try commenting this line. It sometimes makes problems since it depends on an external cuda lib. Its optional for an ablation so its fine to turn it off.
transfuser/team_code_transfuser/model.py
Line 11 in 22b3ccd
from transfuser.
Aha after I comment this line from point_pillar import PointPillarNet
the crash disappear, but there is another problem pop up
seems like the town map is loaded but the ego car haven't shown.
./leaderboard/scripts/local_evaluation.sh /home/oliverwang/Desktop/transfuser/carla /home/oliverwang/Desktop/transfuser
/home/oliverwang/Desktop/transfuser/leaderboard/leaderboard/leaderboard_evaluator_local.py:89: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
if LooseVersion(dist.version) < LooseVersion('0.9.10'):
/home/oliverwang/Desktop/transfuser
-----submission_agen line 209
-----submission_agen line 16
-----submission_agen line 18
-----submission_agen line 20
-----submission_agen line 21
-----submission_agen line 209
-----submission_agen line 209
Registering the global statistics
Do you have any clue? Thanks!
from transfuser.
"-----submission_agen line" I suppose these are your debug prints.
I don't see an error here. these are just warnings and prints.
It might be that you need to delete the results.json file, because the code thinks it already finished all routes.
from transfuser.
I came accross this segmentation days before. Check if your cuda and pytorch stuff versions matches.
d at
from model import LidarCenterNet
when trying to load the LidarCenterNet
To check if you are facing the same situation as mine, you can trace even further, and eventually it would turn out that the segmentation fault take place somewhere irrelevant with transfuser but relevant with pytorch stuff
from transfuser.
Related Issues (20)
- Parsing longest6 results Error HOT 2
- FOV in the data HOT 3
- Artifacts in the LiDAR image HOT 1
- 'AttributeError' and 'UnboundLocalError' when running local_evaluation.sh HOT 3
- How to autogenerate route viz on maps HOT 1
- The training effect is very poor! HOT 10
- The maps of leaderboard HOT 1
- [Evaluation issue] Depth, Semantic image output issues and vehicle stopping HOT 4
- Accessing the gradient of the transfuser model in evaluation mode HOT 2
- How to Change vehicle model for evaluation HOT 6
- how to visualize the topdown image ? HOT 2
- Attention Map Visualizations- Obsolete version HOT 6
- May I ask if there is a download link for the dataset? The script may not be able to download HOT 1
- How to measure the affordances 'relative angle' and 'lateral distance' with respect to the waypoints HOT 2
- How to change camera positions before Evaluating HOT 2
- How to measure the target_vehicle_distance from label_raw.json HOT 1
- How to unnormalize the 'relative angle' from the data.json HOT 1
- Cross-Modal Attention Statistics HOT 2
- Attention Map visualization for Geometric Fusion HOT 10
- How to install GlobalRoutePlannerDAO? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from transfuser.