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

How to get the inference result? #57

Open
eAzure opened this issue Jul 12, 2022 · 5 comments
Open

How to get the inference result? #57

eAzure opened this issue Jul 12, 2022 · 5 comments

Comments

@eAzure
Copy link

eAzure commented Jul 12, 2022

Hello, I'm trying to use this simulator. I want to know how to get the result of inference, like "mnist_l4_mnist". I'm not very clear about the meaning of “output.txt”.
Thank you!

@qzylalala
Copy link

Hello, I'm trying to use this simulator. I want to know how to get the result of inference, like "mnist_l4_mnist". I'm not very clear about the meaning of “output.txt”. Thank you!

你好,现在这个问题有搞清楚吗,我似乎也找不到精度部分的代码位置?

@negishubham
Copy link
Contributor

Hi,

Please follow the instructions in how_to_run to run the simulator. Further, there are some test scripts (https://github.com/Aayush-Ankit/puma-simulator/tree/training/test/utils) that you can try running to run some MLP and CNN test cases.

Thanks!

@qzylalala
Copy link

Hi,

Please follow the instructions in how_to_run to run the simulator. Further, there are some test scripts (https://github.com/Aayush-Ankit/puma-simulator/tree/training/test/utils) that you can try running to run some MLP and CNN test cases.

Thanks!

Thanks for your reply!
I follow the instructions in “how_to_run”, and I Got “Success: Hardware results compiled!!”
However,I have no idea where is the the result accuracy of inference.

@negishubham
Copy link
Contributor

PUMA is a performance simulator. It estimates the energy, latency, and area for the IMC accelerator more information is in the ASPLOS paper. The performance results after running the tool can be found in test/traces folder. For accuracy, you should use the functional simulator (https://github.com/Aayush-Ankit/puma-functional-model).

@qzylalala
Copy link

PUMA is a performance simulator. It estimates the energy, latency, and area for the IMC accelerator more information is in the ASPLOS paper. The performance results after running the tool can be found in test/traces folder. For accuracy, you should use the functional simulator (https://github.com/Aayush-Ankit/puma-functional-model).

Thanks a lot for your reply.
BTW, PUMA is great work!

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

3 participants