Giter Site home page Giter Site logo

conditionalstylegan's Introduction

Instruction to myself

css

Jekyll rebuilds anything in the build folder, thus overwriting any changes. For custom CSS, access assets -> css -> main.scss

conditionalstylegan's People

Contributors

cedricoeldorf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

conditionalstylegan's Issues

Custom Input

How to customize input, in a sense that the input is not a onehot vector?

Thanks

Error : module 'tensorflow' has no attribute 'Dimension'

When running the pretrained_example.py file, I have

Traceback (most recent call last):
File "C:/Users/CAO/Desktop/ConditionalStyleGAN/pretrained_example.py", line 15, in
import dnnlib.tflib as tflib
File "C:\Users\CAO\Desktop\ConditionalStyleGAN\dnnlib\tflib_init_.py", line 8, in
from . import autosummary
File "C:\Users\CAO\Desktop\ConditionalStyleGAN\dnnlib\tflib\autosummary.py", line 31, in
from . import tfutil
File "C:\Users\CAO\Desktop\ConditionalStyleGAN\dnnlib\tflib\tfutil.py", line 34, in
def shape_to_list(shape: Iterable[tf.Dimension]) -> List[Union[int, None]]:
AttributeError: module 'tensorflow' has no attribute 'Dimension'

Stylemixing

Hi,
How can I perform Style-mixing with 2/more uploaded images?
Greetings!

How to exactly configure the pickle file? Error in dataset_tool.py

I have tried to configure the pickle file a few ways now, though I keep getting this error in dataset_tool.py:

File "dataset_tool.py", line 372, in create_from_images
    onehot = np.zeros((conditions.size, np.max(conditions) + 1), dtype=np.float32)
TypeError: must be str, not int

I have been referencing this line for formatting the pickle dictionary:

mypickle = {"Filenames": list_of_file_paths, "Labels": class_condition_labels}

I have a list of file names that are being correctly accessed it seems, then the "Labels" field is filled with a nested array of class condition labels like this [ ['A'], ['C'], ['E'], ... ] which I figure each nested array represents the class labels assigned to each file at the same index in the file name list. This yields this error:

File "dataset_tool.py", line 372, in create_from_images
    onehot = np.zeros((conditions.size, np.max(conditions) + 1), dtype=np.float32)
TypeError: can only concatenate list (not "int") to list

Thus, I am having a hard time diagnosing this error. Am I not formatting something correctly? Thanks!

Generate New Images after training

Hi!
I just finished the training.Now I wanted to Generate new Images from saved weights by giving :

  1. Latent Vector
  2. Condition

I am able to generate new images without giving any condition but I wanted to generate new Images followed by Condtion .How do I do ?

Thanks in Advance!
Ash

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.