Git Product home page Git Product logo

Comments (11)

Akhilesh64 avatar Akhilesh64 commented on August 15, 2024

Check if you satisfy the requirements for tensorflow-addons here: link. tensorflow-addons-0.6.0 supports python versions 3.5-3.7.

from resunet-a.

long123524 avatar long123524 commented on August 15, 2024

Thank you reply! My python versions is 3.6, and tensorflow-gpu==2.0.0, but use "pip" failed to install tensorflow-addons==0.6.0.
I want to know how you installed it because the pip instruction can't find the tensorflow-addons==0.6.0 version.

from resunet-a.

Akhilesh64 avatar Akhilesh64 commented on August 15, 2024

I was able to install the dependencies and run the code on google colab which has default python3.7. Can you upgrade your python version to 3.7?

from resunet-a.

long123524 avatar long123524 commented on August 15, 2024

image
Thank you reply! I upgrade my python version to 3.7, but it still failed to install tensorflow-addons==0.6.0. Because the version is not be found. Can you install the tensorflow-addons==0.6.0?

from resunet-a.

Akhilesh64 avatar Akhilesh64 commented on August 15, 2024

The issue is your OS. tensorflow-addons got windows support after v0.7.0. So there's no support for v0.6.0 on windows. The same code works smoothly on linux machines. What you can try is firstly install tensorflow-gpu==2.0.0 and then simply run pip install tensorflow-addons==0.7.0 to see if it is works. I've not tested this so I am not sure if this would work. See this link for more info.

from resunet-a.

long123524 avatar long123524 commented on August 15, 2024

Thanks four your advice. To use tensorflow-addons, we downloaded and installed higher versions of tensorlow and cuda, corresponding to tensorlow--gpu==2.5.0 and cuda==11.2. We successfully run the code, but the GPU utilization is very low, causing a slow training speed. Do you have any good suggestions to improve the problem? Thank you!
image

from resunet-a.

Akhilesh64 avatar Akhilesh64 commented on August 15, 2024

Hi @long123524 I encountered this problem too and this is due to the dataloader that we're using. If your whole dataset can fit into memory I'd recommend using model.fit() directly instead of loading data through a dataloader. Another thing you can try is apply the preprocessing to the training data(given here) beforehand and save that data to disk to bypass on the fly preprocessing which is slow. Both methods will require significant code changes.

from resunet-a.

long123524 avatar long123524 commented on August 15, 2024

Thank you! I wonder what your results are like? I got a really bad prediction, especially for fields mask prediction.

from resunet-a.

Akhilesh64 avatar Akhilesh64 commented on August 15, 2024

The results I got for plot boundary detection were quite good.

from resunet-a.

long123524 avatar long123524 commented on August 15, 2024

Thank your reply. I obtained the plot boundary and the plot were unsatisfactory. I want to know the numbers of your training samples, because I only use 2528 training samples with 256x256 pixels. Moreover, I want to know the extraction of your plot, it looks very better? Thank you!

from resunet-a.

Akhilesh64 avatar Akhilesh64 commented on August 15, 2024

I don't remember fully but I think I used around 10k training samples. The extraction of the plot can be done using the predict script.

from resunet-a.

Related Issues (8)

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.