sandialabs / cross-sim

CrossSim: accuracy simulation of analog in-memory computing
Other
117 stars 26 forks source link

ValueError #1

Closed nightowlwizard closed 2 years ago

nightowlwizard commented 2 years ago

I was reading the readme document. I have come to the step 'Getting Started', and run the commands: "cd inference python run_inference.py" An error pops up from the 'inference_net.py' file, saying "The parameter useGPU is not defined".The line of this code is 85, which is "params.numeric_params.useGPU = useGPU". I think it means the former useGPU is not defined?

ptxiao commented 2 years ago

This is most likely happening because you have an old version of cross_sim installed on your machine. You shouldn't run into this error if you run the code in an environment without the old version installed.

nightowlwizard commented 2 years ago

Thank you! I did install an old version of cross-sim. When I uninstalled it, the error never occurred. Thank you very much!