Hi,
I’m developing a software on Xavier NX for vision inspection. I encountered a problem when running executable built by Pyinstaller. It gave me this error:
Line 10 is this code in main program: Import cv2.
I can run this exe on my developer Xavier NX, but I cannot run it on other Xavier NX. Please help, Thanks.
Hi, Aasta:
I upgraded my developer machine to JetPack 4.6 (Version: 4.6-b197), but encountered a problem after. When I ran my program, it returned this error: “tensorflow.python.framework.errors_impl.AlreadyExistsError: Another metric with the same name already exists”. The program ran well with JetPack 4.5 before . I goggled, and found this comments: “I encountered the same error while importing tensorflow v2.6 on jetson AGX xavier. It was the issue with the jetpack release not compatible with the version”. I installed Tensorflow 2.6.0+nv21.11 and keras 2.8.0. Please help. Thanks.
Hi, Aasta:
I downgraded keras from 2.8.0 to 2.6.0. It works. I found when installing tensorflow, it will automatically install keras 2.6.0. Previously when I use Jetpack 4.5, I used to use keras 2.8.0. Now I tried to use keras 2.6.0, it also work. So I keep both keras at the the same version, and my software can run now.
But I encountered another problem. I will open a new topic.