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

Release with JetPack 4.5? #375

Closed
oschulz opened this issue Jan 24, 2021 · 12 comments
Closed

Release with JetPack 4.5? #375

oschulz opened this issue Jan 24, 2021 · 12 comments

Comments

@oschulz
Copy link

oschulz commented Jan 24, 2021

Quick question, are there plans for a release with JetPack 4.5 in the near future?

@DingoOz
Copy link
Contributor

DingoOz commented Jan 26, 2021

I haven't tried it with 4.5 yet. Have you run into any issues with JetPack 4.5, can you detail them here?

@oschulz
Copy link
Author

oschulz commented Jan 26, 2021

Not issues, really, I just needed a newer CUDA version for Julia (JetPack 4.5 has CUDA 10.2). However there's no urgency, and was able to make things work using JetPack 4.5 directly now.

@tcorreia2019
Copy link

I am following the instructions in https://jetbot.org/master/software_setup/docker.html. I had previously done steps 1&2 when got the jetson nano 2gb a week ago and installed Jetpack 4.5. Ran steps 3 and 4 without a problem. But when I run Step 5 I get the output below
+++++++++
abc@abc-desktop:~/jetbot/docker$ ./enable.sh $HOME
Synchronizing state of docker.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable docker
docker: invalid reference format.
See 'docker run --help'.
docker: invalid reference format.
See 'docker run --help'.
++++++++++
In looking at the $HOME/jetbot/docker/configure.sh I see checks for $L4T_VERSION = 32.4.3 and 32.4.4 but no check for the version 32.5.0 which is what you get with JetPack 4.5

@tokk-nv
Copy link
Member

tokk-nv commented Feb 3, 2021

Hi all,

We just made a release of v0.4.3 of jetbot that supports JetPack 4.5.
https://github.com/NVIDIA-AI-IOT/jetbot/releases/

The SD card images are available for Jetson Nano 2GB as well as for the original 4GB Jetson Nano Developer Kit.
http://jetbot.org/master/software_setup/sd_card.html

Please let us know if you run into any issue or find any unmet needs related to JetPack 4.5.

@tcorreia2019
Copy link

Awesome. Thanks for the update

@oschulz
Copy link
Author

oschulz commented Feb 3, 2021

Thanks a lot!

@robbuckley
Copy link

robbuckley commented Feb 20, 2021

hi, the pre-trained model for the object_following example doesnt seem to work. I tried the file linked here for "JetBot SD Card Version" 0.4 https://github.com/NVIDIA-AI-IOT/jetbot/blob/master/docs/examples/object_following.md, and got the error below. That page warns that it only works with JetPack 4.3..

Any chance of a model compatible with 4.5? Or some tips on how to convert it, if thats possible?

many thanks


AttributeErrorTraceback (most recent call last)
<ipython-input-2-78c468b59bd4> in <module>
      1 from jetbot import ObjectDetector
      2 
----> 3 model = ObjectDetector('ssd_mobilenet_v2_coco.engine')

/usr/local/lib/python3.6/dist-packages/jetbot-0.4.3-py3.6.egg/jetbot/object_detection.py in __init__(self, engine_path, preprocess_fn)
     27         load_plugins()
     28         self.trt_model = TRTModel(engine_path, input_names=[TRT_INPUT_NAME],
---> 29                                   output_names=[TRT_OUTPUT_NAME, TRT_OUTPUT_NAME + '_1'])
     30         self.preprocess_fn = preprocess_fn
     31 

/usr/local/lib/python3.6/dist-packages/jetbot-0.4.3-py3.6.egg/jetbot/tensorrt_model.py in __init__(self, engine_path, input_names, output_names, final_shapes)
     57         with open(engine_path, 'rb') as f:
     58             self.engine = self.runtime.deserialize_cuda_engine(f.read())
---> 59         self.context = self.engine.create_execution_context()
     60 
     61         if input_names is None:

AttributeError: 'NoneType' object has no attribute 'create_execution_context'```

@jaybdub
Copy link
Contributor

jaybdub commented Mar 20, 2021

Hi @robbuckley ,

Thanks for reaching out!

Unfortunately, we haven't yet added support to the object detection model for JetPack 4.5.

This object detector consistently causes errors with new versions of software, likely due to the nuances in the post-processing.

We hope to develop a simple alternative to work past this.

For the time being, you may be able to look at

https://github.com/qfgaohao/pytorch-ssd

Or a similar open-source repository. I'm happy to help how I can getting this to work for you. I believe this project

https://github.com/NVIDIA-AI-IOT/ros2_torch_trt/tree/master/trt_live_detector/trt_live_detector

Has success converting this model to TensorRT.

Please let me know if this helps or you run into any issues.

Best,
John

@OZtwo
Copy link

OZtwo commented Apr 29, 2021

Hi all,

We just made a release of v0.4.3 of jetbot that supports JetPack 4.5.
https://github.com/NVIDIA-AI-IOT/jetbot/releases/

The SD card images are available for Jetson Nano 2GB as well as for the original 4GB Jetson Nano Developer Kit.
http://jetbot.org/master/software_setup/sd_card.html

Please let us know if you run into any issue or find any unmet needs related to JetPack 4.5.

Yes, but also you stated you must first install this then install JetPack 4.5 using SDK Manager? I have this installed yet there is no Jetpack on it?

You have a notice on Jetbot.org:

Attention
To use a sdcard image that is based on JetPack 4.5, you need to run through the initial ("oem-config") setup using the original JetPack 4.5 Jetson Nano SD card image (Nano 2GB, Nano (4GB)) first. (two links given)
This step will configure the bootloader on Jetson Nano hardware as needed for the latest SD card we released for JetBot.

@fifise77
Copy link

fifise77 commented Sep 7, 2021

Hello,

did you add support to the object detection model for JetPack 4.5.1 yet ?

I cannot find a pre trained model ssd_mobilenet_v2_coco.engine that work right now

@OZtwo
Copy link

OZtwo commented Sep 7, 2021

Not as of yet. I took a break form the robot and focused more on my new 3d printer to then go back to the robot itself when I feel good at using FreeCAD.

@ArrowRaider
Copy link

JetPack 4.6 is out now

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

9 participants