jetracer icon indicating copy to clipboard operation
jetracer copied to clipboard

trouble compiling in road_following.ipynb

Open risingwisdom opened this issue 5 years ago • 7 comments

After running through the code in interactive_regression.ipynb and training/evaluating a dataset, I am unable to get past creating the camera class in road_following.ipynb. Specifically, the block of code starts compiling but never finishes compiling.

Particularly I am talking about this block: image Everything before it compiles with no problem.

I also have no problem creating the camera class in interactive_regression.ipynb so I am unsure what would be causing it to hang in road_following.ipynb.

Any help would be appreciated. Thank you.

risingwisdom avatar Jan 28 '20 00:01 risingwisdom

I am suffering from the same phenomenon. Did you solve it?

kyung-il-Jang avatar Apr 06 '20 14:04 kyung-il-Jang

I found that you can run that camera code first then everything else in order and it would work. As for why that matters (because it shouldn't) I still haven't found why. But you can still run the car that way.

risingwisdom avatar Apr 06 '20 15:04 risingwisdom

thank you for answer me, but i don't understand camera code first.

you mean, run this code

from jetcam.csi_camera import CSICamera camera = CSICamera(width=224, height=224, capture_fps=65)

and then, the rest of the code in order?

kyung-il-Jang avatar Apr 06 '20 15:04 kyung-il-Jang

Yes that is what I mean. Run the camera code first, then go back and run the rest of the code from top to bottom, skipping over the camera code (because you already ran it). If your camera code takes too long to compile restart your Jetson Nano.

risingwisdom avatar Apr 06 '20 20:04 risingwisdom

Thanks a lot, it worked. But, It cannot follow the line properly. ha, ha. It's frustrating because it doesn't work well with 400 photos and 10 trains.

kyung-il-Jang avatar Apr 07 '20 11:04 kyung-il-Jang

Hi. Did anyone found the cause or a fix for this? I am facing the same issue.

mladen-simplifa avatar Jun 07 '20 17:06 mladen-simplifa

i have the same issue, did anybody solve this, in a "pretty" way? some suggested you could reset camera service !echo $USER | sudo -S systemctl restart nvargus-daemon first of all it doesnt work for me, 2ndly i would like to not worry about reseting something everytime i try to run some code

MaxKru avatar Mar 09 '22 20:03 MaxKru