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

Question about nuplan_planner_tutorial #136

Closed
IvanChen777 opened this issue Sep 28, 2022 · 15 comments
Closed

Question about nuplan_planner_tutorial #136

IvanChen777 opened this issue Sep 28, 2022 · 15 comments
Assignees

Comments

@IvanChen777
Copy link

IvanChen777 commented Sep 28, 2022

When I have installed all the packages from requirements.txt and run the nuplan_planner_tutorial. I met a problem. When I try to run launch simulation(Within the notebook) block, it seems like my kernel is always dying, because it has the error called:
Error: Canceled future for execute_request message before replies were done. Is there someone knows how to solve this problem?
Thank you in advance!

@gianmarco-motional
Copy link
Contributor

Hi @IvanChen777!

Could you share how you are running it? I.e. OS, environemnt and so on? I'm not able to repoduce the issue.

@IvanChen777
Copy link
Author

截屏2022-09-29 11 13 47

I built the environment as the tutorial described in the website, install all the packages from requirements.txt, and activate the nuplan environment, I run it in vscode, I don't know what else do you need? But thank you in advance!

@JingyuQian
Copy link

Hello, it looks like it's a problem related to the vscode's Jupyter plugin. Should have nothing to do with NuPlan itself. Maybe try one of the following:

  1. update vscode, jupyter plugin, or try changing another version of them;
  2. directly use Jupyter instead of using it inside vscode;

@IvanChen777
Copy link
Author

Hi,@JingyuQian, thank you for your answer: ) But these 2 methods seems that not useful... my computer is Macbook pro 16, intel i9. Do you think if it is enough to run the Nuplan? Thank you in advance!

@michael-motional michael-motional self-assigned this Oct 3, 2022
@JingyuQian
Copy link

JingyuQian commented Oct 3, 2022

Hello @IvanChen777, Looks like this is a memory problem. See this issue.

In short, the problem can arise from different causes (therefore no official fixes yet), but likely due to memory shortage. Try to lower your resources in the config when running the tutorial (such as the number of workers, etc.), and if that doesn't work, better use another computer to save time...

@IvanChen777
Copy link
Author

Hi, ,@JingyuQian, thank you for your reply, after I apply another computer, this error disappears. However, new error comes, after I install the environment by following the instruction, this error appears, then I follow the error instruction, and change the version of protobuf to 3.20.x, and also try the second method, it seems not working... and also I find that there will be a conflict if I change the version of protobuf. Do you have some suggestions? Thank you :)
截屏2022-10-06 21 31 07
截屏2022-10-06 21 33 57

@JingyuQian
Copy link

Hi @IvanChen777 , don't know if this issue will help.
Since this is a different problem from your original title, if you're able to reproduce this error, you can create another new issue and ask the officials to help resolve it.

@michael-motional
Copy link

@IvanChen777 to follow up on the original issue, can you see if you can replicate the issue running outside the notebook?

For the new issue, are you running into that when running conda env create -f environment.yml?

@IvanChen777
Copy link
Author

Hi @IvanChen777 , don't know if this issue will help. Since this is a different problem from your original title, if you're able to reproduce this error, you can create another new issue and ask the officials to help resolve it.

Okay, thank you for your advice:)

@IvanChen777
Copy link
Author

@IvanChen777 to follow up on the original issue, can you see if you can replicate the issue running outside the notebook?

For the new issue, are you running into that when running conda env create -f environment.yml?
Hi, for the original issue, what do you mean that outside the notebook, and for the new issue, I run the conda env create -f environment.yml in order to build the environment

@michael-motional
Copy link

I was suggesting you run the contents of the notebook from a regular python file, something like this file. You might have to change BASE_CONFIG_PATH depending on where you run it from, in the example file I set it to run from the base of nuplan-devkit. The hope is any issues might be more likely to surface than when running through the notebook.

@michael-motional
Copy link

I'll close this, but please re-open if you'd like to discuss further

@luis2r
Copy link

luis2r commented Oct 9, 2022

I was suggesting you run the contents of the notebook from a regular python file, something like this file. You might have to change BASE_CONFIG_PATH depending on where you run it from, in the example file I set it to run from the base of nuplan-devkit. The hope is any issues might be more likely to surface than when running through the notebook.

same issue running a regular python file

@IvanChen777
Copy link
Author

IvanChen777 commented Oct 10, 2022 via email

@IvanChen777
Copy link
Author

I'll close this, but please re-open if you'd like to discuss further

Actually, the problem is still not totally solved, when I run the code nuplan_framework.ipynb, the main_train(cfg), after running it for 1 hour, it has the runerror problem, do you know why?
截屏2022-10-17 16 45 25

截屏2022-10-17 16 37 21

Thank you in advance!

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

No branches or pull requests

5 participants