Giter VIP home page Giter VIP logo

Comments (7)

aquilaadrian avatar aquilaadrian commented on July 28, 2024 1

@jstoecker thanks for the answer really appreciate it. Unfortunately i cannot share the dataset because of restriction. i tried it as well with tensroflow-rocm and get result closer to cpu tensorflow. I'll try this again once new release is up and give a followup

from tensorflow-directml.

aquilaadrian avatar aquilaadrian commented on July 28, 2024

Longer train session

ResNet50 with tensorflow 2 cpu:
ResNet15 loss epochs
ResNet15epochsVal

ResNet50 with tensorflow 1.15 gpu:
ResNet DirectML val loss 15epochs
ResNet DirectML val acc 15epochs

from tensorflow-directml.

jstoecker avatar jstoecker commented on July 28, 2024

I would not say it's expected or normal to see this kind of difference. We've fixed a number of bugs since the last package of tensorflow-directml on pypi.org, and we still have more to go through, so it's possible this will be resolved in the next release (hopefully quite soon, i.e. weeks). It would be great if you could try this again when we have the new release, which also has many performance improvements, since this type of issue can be quite challenging to debug without the same data you're using.

We're also ramping up our own internal conformance testing to hopefully catch more issues like this.

from tensorflow-directml.

jstoecker avatar jstoecker commented on July 28, 2024

Thanks @aquilaadrian. It's really helpful that you file these types of issues regardless, as it's something we'll try to look at (with our own data) at some point. :)

from tensorflow-directml.

CardLin avatar CardLin commented on July 28, 2024

Hi, I am running tensorflow-directml==1.15.7 (Windows) on my RX6600XT 8GB

I use Xception to train dogs-vs-cats classification. (train:test=9:1 by split Kaggle train dataset)

The validation accuracy is equal to 0.5 on first two epochs

But val_acc going up after third epochs...

It seems validation model is not the same with training model due to there is larger than 0.6 train_acc in first one epoch.

My GPU driver is AMD Software Adrenalin Edition==22.10.01.03 (2022/5/5)

Any suggestion?

from tensorflow-directml.

PatriceVignola avatar PatriceVignola commented on July 28, 2024

Hi @CardLin,

Is this a problem that you were having with tensorflow-directml==1.15.5, or only 1.15.7?

from tensorflow-directml.

CardLin avatar CardLin commented on July 28, 2024

Hi @CardLin,

Is this a problem that you were having with tensorflow-directml==1.15.5, or only 1.15.7?

I have fix this issue by add GAP and Dense layer before Xception...

But it is strange that why there have different result compare to tensorflow-gpu==2.8.0 with CUDA runs on RTX2070?

I use 299x299x15 as input that should using weights=None. (random initialization)

Maybe the random initialization of the weights is different?

from tensorflow-directml.

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.