Code Monkey home page Code Monkey logo

Comments (10)

desmcm avatar desmcm commented on September 2, 2024 2

from starnet.

nekitmm avatar nekitmm commented on September 2, 2024 1

Working on it, but currently stuck at the step of transferring pre-trained weights to the new version

from starnet.

themissingcow avatar themissingcow commented on September 2, 2024 1

The problem is specifically with TF - old weights output complete garbage in the new version. Seems that Conv2D in TF 2.x is somehow different and I can not find out what is the problem.

I asked a friend of mine who has done quite a bit of TF work, and he said:

You might need to store the weights in an external format for transfer, if you can store the network from 1.4 in Keras or ONNX format, you'll be able to read that cleanly in tf 2.0

Don't know if that helps at all?

from starnet.

themissingcow avatar themissingcow commented on September 2, 2024 1

Amazing, thanks so much @nekitmm.

from starnet.

desmcm avatar desmcm commented on September 2, 2024 1

from starnet.

nekitmm avatar nekitmm commented on September 2, 2024

TF 2.0 is completely different, you need to install 1.4.0 or similar.

I am thinking of updating it actually, but never got time to do that so far... I need at some point though

from starnet.

supernovae avatar supernovae commented on September 2, 2024

I was looking into effort to do this since i'd like to try the DIrectML for Windows to see if DX cards can offload some startnet++ in PixInsight. Have you had any time to look into 2.x yet?

from starnet.

themissingcow avatar themissingcow commented on September 2, 2024

@nekitmm, first of all, many thanks for making startnet available. It's invaluable! I don't know much about tensorflow, but I write c++/python for a living, so please let me know if I can help with any of the other aspects of the update at all.

from starnet.

nekitmm avatar nekitmm commented on September 2, 2024

@nekitmm, first of all, many thanks for making startnet available. It's invaluable! I don't know much about tensorflow, but I write c++/python for a living, so please let me know if I can help with any of the other aspects of the update at all.

Thanks! I am ok on python code and everything - already wrote the whole thing. The problem is specifically with TF - old weights output complete garbage in the new version. Seems that Conv2D in TF 2.x is somehow different and I can not find out what is the problem.

from starnet.

nekitmm avatar nekitmm commented on September 2, 2024

I finally pushed a new version made in TF2. You can check it out!

from starnet.

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.