Comments (3)
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.
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.
Please take a look at #9
from deep-fluids.
Related Issues (20)
- How do you visualize the network output: velocity fields and density. HOT 4
- Velocity field -> density HOT 2
- Why is Algorithm 1 faster than integrating ODE? HOT 2
- Why `curl` in `build_test_model` rather than `jacobian3`? HOT 2
- Torch implementation HOT 2
- Interpreting output of the smoke3_vel_buo simulation
- why the output of EncoderBE3 is of z_num?
- The default dataformate of jocabian is wrong
- mantaflow OpenGL functions not declared in scope
- Visualizing the output HOT 1
- problem in manta HOT 2
- copyGridToArrayMAC(vel, v_) Dimensions do not match Error HOT 4
- I am not able to see any output files generated in log folder?
- training error HOT 4
- Using own data? HOT 3
- Any plans to release pre-trained weights? HOT 2
- Tensor shape or OOM error for smoke3_mov200_f400 training HOT 3
- Different normalization for training and test data HOT 1
- Computing the evaluation time HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deep-fluids.