generative-visual-prompt | NeurIPS 2022 ] Code for `` Generative Visual Prompt

 by   ChenWu98 Python Version: Current License: Non-SPDX

kandi X-RAY | generative-visual-prompt Summary

kandi X-RAY | generative-visual-prompt Summary

generative-visual-prompt is a Python library. generative-visual-prompt has no bugs, it has no vulnerabilities and it has low support. However generative-visual-prompt build file is not available and it has a Non-SPDX License. You can download it from GitHub.

Generative models (e.g., GANs and diffusion models) learn the underlying data distribution in an unsupervised manner. However, many applications of interest require sampling from a specific region of the generative model's output space or evenly over a range of characteristics. To allow efficient sampling in these scenarios, we propose Generative Visual Prompt (PromptGen), a framework to achieve distributional control over pre-trained generative models by incorporating knowledge of arbitrary off-the-shelf models. PromptGen defines control as an energy-based model (EBM) and samples images in a feed-forward manner by approximating the EBM with invertible neural networks, avoiding optimization at inference. We demonstrate how PromptGen can control several generative models (e.g., StyleGAN2, diffusion autoencoder, StyleNeRF, NVAE) using various off-the-shelf models:. PromptGen requires no training data, and the only supervision comes from off-the-shelf models that help define the control. It samples images in a feed-forward manner, which is highly efficient, and it also stands alone at inference, meaning that we can discard the off-the-shelf models after training. PromptGen not only offers generality for algorithmic design and modularity for control composition, but also enables iterative controls when some controls are contingent on others.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              generative-visual-prompt has a low active ecosystem.
              It has 106 star(s) with 5 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              generative-visual-prompt has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of generative-visual-prompt is current.

            kandi-Quality Quality

              generative-visual-prompt has no bugs reported.

            kandi-Security Security

              generative-visual-prompt has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              generative-visual-prompt has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              generative-visual-prompt releases are not available. You will need to build from source code and install.
              generative-visual-prompt has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of generative-visual-prompt
            Get all kandi verified functions for this library.

            generative-visual-prompt Key Features

            No Key Features are available at this moment for generative-visual-prompt.

            generative-visual-prompt Examples and Code Snippets

            No Code Snippets are available at this moment for generative-visual-prompt.

            Community Discussions

            No Community Discussions are available at this moment for generative-visual-prompt.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install generative-visual-prompt

            You can download it from GitHub.
            You can use generative-visual-prompt like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/ChenWu98/generative-visual-prompt.git

          • CLI

            gh repo clone ChenWu98/generative-visual-prompt

          • sshUrl

            git@github.com:ChenWu98/generative-visual-prompt.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link