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

Converging of the network for different data sets? #12

Open
shamanez opened this issue Dec 26, 2017 · 6 comments
Open

Converging of the network for different data sets? #12

shamanez opened this issue Dec 26, 2017 · 6 comments

Comments

@shamanez
Copy link

shamanez commented Dec 26, 2017

I tried to train this network to identify 13 classes with 5 RGB images for each class.
One image is like this.

20171221_175923

I modified the network to work with RGB. But even after 100000 iterations cannot see any kind of convergence.

Do you think this network is not capable of remembering information in above-mentioned images? Because in character data set the information is not complex as much as in above type images.

@snowkylin
Copy link
Owner

I am not very sure about this, but generally NTM is harder to converge compared with other DL models, which is a main drawback of this model.

@albertchristianto
Copy link

Hi @snowkylin, I also faced some problem with RGB images. Have you tried MANN implementation for RGB images.
I have tried your code and this MANN code (https://github.com/hmishra2250/NTM-One-Shot-TF) for RGB images. hmishra2250's code converged but it takes a long time.
On the other hand, your code even can't converged.
I am just curious what is the different between your code and hmishra2250's code?
I have tried to compare your code and hmishra2250's code. But, because I am still new on this topic, I haven't (maybe couldn't) found any useful information. Thanks in advanced.
Best regards,
Albert

@snowkylin
Copy link
Owner

@albertchristianto No, I haven't tried RGB images. Maybe you can try to convert images into gray scale and see if there is any change on the performance of the model. Sorry that I am busy these days and cannot afford much time to analyse other codes.

@shamanez
Copy link
Author

@albertchristianto what about the accuracy? It is working or just converging?

@albertchristianto
Copy link

albertchristianto commented Jul 25, 2018

@snowkylin I extracted the feature using VGG16 then use it as my MANN input. it's okay. Thank you for your quick response.
@shamanez for the hmishra2250's code converged (also the accuracy) but it takes a long time, also hmishra2250's code didn't have very clear explanation about what happen in the training process, therefore i am kind of doubting the result. I have a hard time to modify the parameter from hmishra2250's code.

@shamanez
Copy link
Author

@albertchristianto check whether he used something like weight clipping or gradient norm. Because for me this cord is error free algorithmic wise.

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