Coder Social home page Coder Social logo

yeonghyeon / dgm-tf Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 0.0 3.14 MB

TensorFlow implementation of Disentangled Generative Model (DGM) with MNIST dataset.

License: MIT License

Python 100.00%
generative-adversarial-network disentangled-generative-model anomaly-detection generative-neural-network mnist-dataset

dgm-tf's People

Contributors

yeonghyeon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dgm-tf's Issues

Memory leaks when training on colab

Hi! I am trying to run the code on colab but unfortunately, there is a memory leak during training. Since the default version of TensorFlow of colab is v2, I have to set it back into v1 so that it runs successfully. Could you please provide the versions of the packages of your environment for this repo? Thanks in advance!

How to apply the model on customised dataset

Hi, thank you for your great work! And I have some questions and need your help.

I found that in your implementation, the encoder and decoder have different structures compared to the original DGM paper. Basically, it has 2 conv layers followed by a pooling layer every time. Is it because the mnist data have relatively small sizes and don't need too many layers?

I'm currently trying to use DGM to generate residue maps on CXR images with the size of 224*224(same as in the paper). And I've modified the depth of the model and in/out channels. It has successfully output the parameters for flow 1, 2 and 3. But when it starts training, it has the following bugs.
9061625328340_ pic_hd
In the encoder, we have modified it to this:
截屏2021-07-04 上午12 07 11
And in the decoder, we have modified to this:
截屏2021-07-04 上午12 09 37
I really like your work and want to see how it works on my customized dataset. Could you give me some instructions on modifying the model? I'm really a novice to this.
I'll appreciate your response.

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.