codeslake / DMENet

[CVPR 2019] Official TensorFlow Implementation for "Deep Defocus Map Estimation using Domain Adaptation"
GNU Affero General Public License v3.0
122 stars 24 forks source link

Ram and Memory issue #8

Closed Saurabh528 closed 4 years ago

Saurabh528 commented 4 years ago

The model is taking a lot of time to evaluate images and generate maps. My ram is completely exhausted. What is the solution?

codeslake commented 4 years ago

Are you running tensorflow-cpu? If you are not, load the images one by one and run the evaluation code.