Coder Social home page Coder Social logo

Comments (3)

byungsook avatar byungsook commented on July 18, 2024

Hi, I agree that sampling without replacement is ideally better in the short run.
In our case, many epochs are required to train the network, hence the current code won't show much difference in the final performance.

from deep-fluids.

tudormot avatar tudormot commented on July 18, 2024

Hi @byungsook ,
many thanks for the response! Yes, you are right for long training it should not quite matter.Sorry a quick last question, unfortunately I am also not able to get as fast inference time as you mention in the paper. Essentially, I am using exactly your implementation for training and test, and to measure the time I do (in line 340 in trainer.py):

for b in range(niter): start=time.time() G_ = self.sess.run(self.G_, {self.z: z_c[self.test_b_num*b:self.test_b_num*(b+1),:]}) G_, _ = self.batch_manager.denorm(x=G_) end=time.time() print(end-start)

This gives me on average between 150 and 300 ms on different smoke datasets while you have around 1 ms. I am using a Tesla P100-PCIE GPU, which shouldn't be very different from what you have used..
Could you tell me what is the catch I am missing?

Thanks,
Tudor

from deep-fluids.

byungsook avatar byungsook commented on July 18, 2024

Please take a look at #9

from deep-fluids.

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.