Giter Club home page Giter Club logo

Comments (7)

inspirit avatar inspirit commented on May 5, 2024 1

this doesnt fix the issue i'm talking about:
to_rgb = AdaptiveConv2DMod(dim_out, channels, 1, num_conv_kernels = 1, demod = False)
num_conv_kernels is always 1 for rgb regardless of Generator setting

from gigagan-pytorch.

inspirit avatar inspirit commented on May 5, 2024 1

but you still compute kernel weights for rgb branch

style_embed_split_dims.extend([
dim_in, # for first conv in resnet block
dim_kernel_mod, # first conv kernel selection
dim_out, # second conv in resnet block
dim_kernel_mod, # second conv kernel selection
dim_out, # to RGB conv
dim_kernel_mod, # RGB conv kernel selection
])

from gigagan-pytorch.

inspirit avatar inspirit commented on May 5, 2024 1

but i agree that this path looks super convoluted :) i would rather move mod+kernel_mod projection inside AdaptiveConv2DMod

from gigagan-pytorch.

lucidrains avatar lucidrains commented on May 5, 2024

is_adaptive = num_conv_kernels > 1
dim_kernel_mod = num_conv_kernels if is_adaptive else 0
yup, so that's actually set to 0 here

i may move all that modulations into the adaptive conv2d mod at some point

its too confusing the way i have it currently

from gigagan-pytorch.

lucidrains avatar lucidrains commented on May 5, 2024

@inspirit yup, that is intentional, based on point 2 in #33

from gigagan-pytorch.

lucidrains avatar lucidrains commented on May 5, 2024

@inspirit 🤦‍♂️ yes you are right

from gigagan-pytorch.

lucidrains avatar lucidrains commented on May 5, 2024

@inspirit yes i'll get around to it 😅

from gigagan-pytorch.

Related Issues (20)

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.