GithubHelp home page GithubHelp logo

Comments (4)

kravrolens avatar kravrolens commented on August 27, 2024 1

I found my problem. The size of constructed latents input (./CFW_trainingdata/latents/xxx.npy) should be (1,4,64,64).
The size of lq image should be (1, 3, 512, 512).
Sorry to bother you, thank you!

from stablesr.

IceClear avatar IceClear commented on August 27, 2024

Hi, your understanding is correct, I use the two layers' features.
For your question, you just need to print the intermediate features to check the shape. The code can be successfully run so there should be no bugs.

from stablesr.

kravrolens avatar kravrolens commented on August 27, 2024

As I showed before, enc_fea and dec_fea don't seem to have feature components of the same size. Because the input of the encoder is lq image, the output of the decoder is hq image (4x). There is a 4x gap in the size of the features, can you please elaborate how this is handled? THANKS!

btw, the size of constructed latents input (./CFW_trainingdata/latents/xxx.npy) is (1,4,64,64) before training CFW. Is it right?

from stablesr.

xyIsHere avatar xyIsHere commented on August 27, 2024

As I showed before, enc_fea and dec_fea don't seem to have feature components of the same size. Because the input of the encoder is lq image, the output of the decoder is hq image (4x). There is a 4x gap in the size of the features, can you please elaborate how this is handled? THANKS!

btw, the size of constructed latents input (./CFW_trainingdata/latents/xxx.npy) is (1,4,64,64) before training CFW. Is it right?

Hi @kravrolens, I'm also working on the replication right now. From your issue, I thought you have already get succeed on the first fine-tuning stage. I'm personally get stuck on the fine-tuning stage. The problem is that my fine-tuning results did not show very good generation ability. I tested the provided stablesr model by setting the dec_w to be 0.0 and check its fine-tuning results and the results look much better than mine (as shown in issue #36). Did you have similar problem as me? Thank you so much!

from stablesr.

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.