-
Notifications
You must be signed in to change notification settings - Fork 46
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
The accuracy of my MDNN is too low, is there something wrong? #156
Comments
@zzzqqw Have you solved it? I think this problem is caused by the linear layer transformation from DNN to MDNN. I am handling a CNN regression neural network, and I always find it false or resulting in bad accuracy when I patch the linear layer. |
@zzzqqw You can try to remove the tile_shape = [(256, 64)] and max_input_voltage=0.3 during patching the model, and the results may be great. |
In the setup file, one of the requirements is sklearn, but it's name has changed to scikit-learn, change it |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hello, I also encountered the problem of low accuracy. Is it because I used the method of memtorch incorrectly? If you could help me, I would be very grateful
The output of the above code is as follows, which seems to be a fixed value
|
Hello, can you help me check where the problem lies @RTCartist |
|
Thank you for your answer. As you mentioned, the parameters have a significant impact |
Hello, I'm sorry to bother you again because I really can't find a solution to the problem. When the finite conductance state of non ideal factors changes, the accuracy of the model does not change, and even when the conductance state is set to 0, there is no change. I think it is because the true quantization part, memorchid_bindings. quantize (tensor, nquant_levels=quant, min=min, max=max), has not been executed, so there will be no impact. Do you have any solution.@RTCartist |
@RTCartist 你好,能帮我看一下是为什么吗? |
I am not familiar with this problem. sorry that can't help you. |
Thank you for your attention and answer!This question is indeed difficult to solve. |
This repo really needs maintenance. Why not use other architectures to
simulate the memristor array for ai application? such as MNSIM.
…On Wed, 17 Jul 2024 at 14:06, Nanchen ***@***.***> wrote:
@RTCartist <https://github.com/RTCartist> 你好,能帮我看一下是为什么吗?
我不熟悉这个问题。对不起,这帮不了你。
Thank you for your attention and answer!This question is indeed difficult
to solve.
—
Reply to this email directly, view it on GitHub
<#156 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AX5GMGGZ2RM2MMHPZWI7EH3ZMYCW7AVCNFSM6AAAAABBDDPNYOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZSGQ4TMNBXGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I did try another architecture a few days ago, IBM AIHWKIT. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hello, I trained a simple network to recognize the MNIST dataset with an accuracy of 0.97 before converting the network to MDNN. But the accuracy of MDNN is only around 0.10. May I ask what the reason is?
The code is as follows:
The text was updated successfully, but these errors were encountered: