Giter VIP home page Giter VIP logo

Comments (4)

junyang-cynopsis avatar junyang-cynopsis commented on May 18, 2024 1

Okay I got it, apparently windows cant create folders with semicolon in its filename, which appears in the timestamp. I removed the timestamp(or semicolon) and it works now

from image-super-resolution.

junyang-cynopsis avatar junyang-cynopsis commented on May 18, 2024 1

Okay I got it too

So we need to set the monitor metrics to be specifically one of the following keys, cant use the default "val_generator_PSNR". ie example use "val_generator_PSNR_Y"

{'train_d_real_loss': 0.060769938, 'train_d_real_acc': 1.0, 'train_d_fake_loss': 0.027885916, 'train_d_fake_acc': 1.0, 'train_loss': 0.18021318, 'train_generator_loss': 0.1242274, 'train_discriminator_loss': 4.2881703, 'train_feature_extractor_loss': 2.6231012, 'train_generator_PSNR_Y': 17.87545}

{'val_loss': 0.14819694967009128, 'val_generator_loss': 0.1413433525711298, 'val_discriminator_loss': 0.6808462247252465, 'val_feature_extractor_loss': 2.6356906309723853, 'val_generator_PSNR_Y': 17.35666718482971}

from image-super-resolution.

junyang-cynopsis avatar junyang-cynopsis commented on May 18, 2024

I have an issue now, the code doesnt save my hdf5 weights after end of epochs training, any reasons why?

from image-super-resolution.

cfrancesco avatar cfrancesco commented on May 18, 2024

Okay I got it, apparently windows cant create folders with semicolon in its filename, which appears in the timestamp. I removed the timestamp(or semicolon) and it works now

Cool, I was not aware of this issue, thank you for pointing it out. I will look into a fix.

Okay I got it too

So we need to set the monitor metrics to be specifically one of the following keys, cant use the default "val_generator_PSNR". ie example use "val_generator_PSNR_Y"}

There needs to be at least one monitored metric amongst the available metrics. If not, it should only save the weights during the fallback saves. I will double check the behavior.
I am strongly considering to remove a weight saving logic in favor of a "save every epoch, mark if it is best on some metric" kind of logic, especially due to the difficulties while evaluating the perceptual quality (when GANS and VGG loss are introduced).
Thank you for your effort!

from image-super-resolution.

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.