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

Fail to run on JetPack 4.6, Xavier-NX #34

Open
dn1983 opened this issue Nov 15, 2022 · 1 comment
Open

Fail to run on JetPack 4.6, Xavier-NX #34

dn1983 opened this issue Nov 15, 2022 · 1 comment

Comments

@dn1983
Copy link

dn1983 commented Nov 15, 2022

JetPack 4.6
L4T 32.6.1
Xavier-NX:

demo@tegra-ubuntu:~/jetson_benchmarks$ sudo python3 benchmark.py --model_name inception_v4 --csv_fi_path ${PWD}/benchmark_csv/nx-benchmarks.csv --model_dir ${PWD}/models/ --power_mode 2 --jetson_devkit xavier-nx
Please close all other applications and Press Enter to continue...
Setting Jetson xavier-nx in max performance mode
Traceback (most recent call last):
File "benchmark.py", line 130, in
main()
File "benchmark.py", line 28, in main
system_check.run_set_clocks_withDVFS()
File "/home/demo/jetson_benchmarks/utils/utilities.py", line 40, in run_set_clocks_withDVFS
self.set_clocks_withDVFS(frequency=self.gpu_freq, device='gpu')
File "/home/demo/jetson_benchmarks/utils/utilities.py", line 74, in set_clocks_withDVFS
from_freq = self.read_internal_register(register=freq_register_, device=device)
File "/home/demo/jetson_benchmarks/utils/utilities.py", line 100, in read_internal_register
reg_read = open(register, "r")
FileNotFoundError: [Errno 2] No such file or directory: '/sys/devices/gpu.0/devfreq/17000000.gv11bnafll_gpc0/rate'

@AsawareeBhide
Copy link
Collaborator

Hi! Could you please try adding --jetson_clocks to the command? For example:

sudo python3 benchmark.py --all --csv_file_path /benchmark_csv/tx2-nano-benchmarks.csv --model_dir /Desktop/benchmark/jetson_benchmarks/models/ --jetson_devkit nano --gpu_freq 921600000 --power_mode 0 --precision fp16 --jetson_clocks

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

2 participants