Skip to content

Expected FPS for YOLOX-S TensorRT Engine on Jetson Orin Nano (JetPack 6.2)? #1829

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

Open
thePrimeTux opened this issue Apr 9, 2025 · 0 comments

Comments

@thePrimeTux
Copy link

I'm running a YOLOX-S model converted to a TensorRT engine on a Jetson Orin Nano (Super) with JetPack 6.2. The model was trained and exported to a TensorRT engine using the provided tools. I'm using Python and OpenCV to run inference, and I’m getting around 25 FPS.
I’ve tested this with the device set to 15W power mode and jetson_clocks enabled.
Here's the code snippet I used to calculate the FPS:

    start_time = time.time()    # Start time of video processing to calculate fps
    while True:
        ret, frame = input_video.read()
        if not ret:
            break
        
        frame_count+=1
        results, img_info = predictor.inference(frame)
        ratio = img_info["ratio"]
        end_time = time.time()
        avg_fps = frame_count / (end_time - start_time)
        print(f"FPS = {avg_fps}")

I couldn't find any official benchmarks for YOLOX models on Jetson devices. So I'm wondering if ~25 FPS is the expected performance for YOLOX-S (640x640, FP16 TensorRT engine) on the Orin Nano?

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

1 participant