Code Monkey home page Code Monkey logo

lossy-image-compression's People

Contributors

abskj 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

Watchers

 avatar  avatar  avatar

lossy-image-compression's Issues

Size of dataset

How large was your dataset, to be able to decompress almost perfectly? when I try to train with my own dataset I get something that looks like this :
image
I did not change your code at all, just an issue with training.
I am only assuming it is the problem of the dataset training and nothing else as I have not changed anything else

ZeroDivisionError: division by zero

print('Train Loss:\t%.6f'%(total_loss*train_params['batch_size']/len(train_params['train_indices'])))

ZeroDivisionError: division by zero。

我不明白train_params['train_indices']在哪里赋值了,那么它的长度自然就是0.这个loss计算的定义是什么呢?
I don't understand train_ Where is params ['train_indices'] assigned, and its length is naturally 0. What is the definition of this loss calculation?

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.