undertherain / benchmarker

modular framework for [not only] deep learning performance benchmarking
http://blackbird.pw/performance
Mozilla Public License 2.0
9 stars 5 forks source link

Wrong python called in "outer benchmarker" #148

Closed vatai closed 3 years ago

vatai commented 3 years ago

The outer loop always calls python3 and if that the (the outer) benchmarker was invoked with a different python, chances are that the two pythons have different environments (see different packages).

The solution: substitute python3 with sys.argv[0]

vatai commented 3 years ago

sys.executable should be used