Sept. 7, 2023, 6:06 p.m. | /u/Sinapi12

Computer Vision www.reddit.com

I have this neural network written in Python using PyTorch, roughly 1000 lines in code. The goal of the network is to run in real-time with at least 10 FPS. Currently, it is running abysmally at 1 FPS.

Would rewriting the program in C++ result in any significant performance boosts? If so, why? From my understanding the typical industry workflow seems to be prototyping in Python then deploying in C++. However most PyTorch functions are already just wrappers for C++ …

code computervision fps least network neural network performance python pytorch real-time running

Artificial Intelligence – Bioinformatic Expert

@ University of Texas Medical Branch | Galveston, TX

Lead Developer (AI)

@ Cere Network | San Francisco, US

Research Engineer

@ Allora Labs | Remote

Ecosystem Manager

@ Allora Labs | Remote

Founding AI Engineer, Agents

@ Occam AI | New York

AI Engineer Intern, Agents

@ Occam AI | US