Open ahmedshafiq12 opened 1 year ago
You've chosen to report an unexpected problem or bug. Unless you already know the root cause of it, please include details about it by filling the issue template. The following information is missing: "Instructions To Reproduce the Issue and Full Logs";
I've installed detectron2 on jetson nano 2GB version, and when I ran it, it took almost 3 min for inferencing the first image (I've calculated the time after loading the model) and took an average 2 seconds for inferencing one image even after resizing it to (460*460) which is very slow
my hypothesis: The masking layer draws too many points, is there a way to reduce that? The masking layer takes time, is there a way to remove it? The Jetson nano uses 4Gb of Swap memory, does adding more memory help that? There is a jetson inference library that uses .onnx files, would that do something?
or is there another way to make faster or something I've done caused this?
I'm using a virtual environment (Python 3.6.9) detectron2 = 0.4 PyTorch = 1.8 and torchvision (v0.9.0) that matches the PyTorch installation.
Instructions To Reproduce the Issue: Requirements
Python = 3.6.9 virtual environment. gcc & g++ ≥ 5.4 are required.
PyTorch v1.8 installation :
torchvision v0.9.0 installation :
detectron2 v0.4 installation :