Giter Site home page Giter Site logo

endlesssora / deceived Goto Github PK

View Code? Open in Web Editor NEW
251.0 16.0 24.0 3.62 MB

[NeurIPS 2021] Deceive D: Adaptive Pseudo Augmentation for GAN Training with Limited Data

License: Other

Python 89.30% C++ 3.29% Cuda 7.41%
generative-adversarial-network gan image-generation image-synthesis limited-data few-shot stylegan2 neurips-2021 generative-model

deceived's Issues

Hello, I have two questions that I would like to ask you!

Firstly, can this code run independently to obtain data enhanced images? Secondly, I would like to know if this code can only recognize existing models and cannot be used on my own dataset, such as fruits. Hope everyone can help reply, thank you!

Increase resolution of images.

Hello,
First of all, congrats for your nice work. I have trained DeceiveD/APA with my set which are formed by 128 x 128 images. I am wondering whether I can generate higher resolution images (1024 x 1024) with your GAN based on low resolution ones. When preparing the data, I ran something like:

python dataset_tool.py --source=/path/to/image/folder --dest=/path/to/archive.zip --width=128 --height=128 --max-images=100

To train (stylegan2 for 1024 x 1024):

python train.py --outdir=./experiments --gpus=4 --data=/path/to/mydataset.zip --mirror=1 --cfg=stylegan2 --aug=apa --with-dataaug=true

Inference:

python generate.py --outdir=out --trunc=1 --seeds=1000-1199 --network=/path/to/checkpoint/pkl

But after the inference, the output were 128 x 128 images (as the original ones).

Thus, can we use it for creating higher resolution images?

Thank you.

enviorment

My setting is : ubuntu20.04 ; python 3.7.0; pytorch1.7.1+cu110; cuda11.1.
The code can run, but there is an issue:
[ERROR] Sorry, cuMemHostGetDevicePointer_v2() is not implemented in the current version. If user application keeps reporting errors, please use Ctrl+C to exit.
how should I solve this issue?

Add Anaconda environment.yml

Firstly: Awesome project!

You recommend using Anaconda in the install description.
Would it be possible to add an environment.yml with all needed dependencies to the repository to ease the installation process?

experimental setting

Thank you for a job well done!
How can I set the command if I want to use ADA and APA training at the same time?

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.