GithubHelp home page GithubHelp logo

Comments (8)

wzell avatar wzell commented on July 24, 2024 1

hallo redhat12345,

the Alexnet implementation is from https://github.com/heuritech/convnets-keras. There, you can find your issue: heuritech/convnets-keras#18.

Seems that this issue has to do with the "image_dim_ordering" parameter in the keras.json file.

Please let me know if that helps.

from mann.

wzell avatar wzell commented on July 24, 2024 1

Thank you :-).

The data augmentation is only for comparability reasons to other approaches that use data augmentation (Domain-adversarial neural networks, the mmd family of papers, DAN etc. and deep-CORAL).

I did not analyse the number of images on the accuracy. In the paper you can see that there are two approaches (mann and robust-mann in the code). One needs the augmented images (mann) and it is only for sake of comparability with other approaches that use data augmentation. The other approach (robust-mann) does not need the data augmentation. Please see the paper for details.

If you are not interested in running the full experiment (needs ~1 week), I suggest to uncomment everything that uses data augmentation (CNN network+mann) and just run the robust-mann implementation with only one repetition. This will need ~10min for the whole dataset. With increasing repetition number, the results should approach the table in the paper.

from mann.

wzell avatar wzell commented on July 24, 2024 1

Done. Hope that helps.

from mann.

redhat12345 avatar redhat12345 commented on July 24, 2024

I have tried with both theano 0.8.1 and theano 0.9.0. Got the same error. I am not sure what happened ?

from mann.

redhat12345 avatar redhat12345 commented on July 24, 2024

By editing ~/.keras/keras.json file

{
"image_dim_ordering": "th",
"epsilon": 1e-07,
"floatx": "float32",
"backend": "theano"
}
It worked for me. Thank you so much for your kind reply. By the way you did a great job.

from mann.

redhat12345 avatar redhat12345 commented on July 24, 2024

It creates a lot of augmented images (100000) per dataset. Is there any effect of numbers of augmented images in accuracy?

from mann.

wzell avatar wzell commented on July 24, 2024

I close this issue since the error is solved and I change its name. Please open a new one if further errors occur.

from mann.

redhat12345 avatar redhat12345 commented on July 24, 2024

Thank you so much. It would be really appreciable if you publish the commented version of the code which will give the results quickly. I am sorry that in close issue, I made a comment.

from mann.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.