Comments (5)
Thanks again and have a nice day~
from dmenet.
Hi,
You may obtain the file names of each folder first, and sort each of them, then read each image from the sorted lists.
from dmenet.
Thank you! I'll try.
from dmenet.
By the way, the size of the images in the "gt" folder are "1280x752", but the sizes in the "image" folder are "1280x760". How should I deal with this?
from dmenet.
Apply a mod crop on images in the image
folder:
def refine_image(img):
h, w = img.shape[:2]
return img[0 : h - h % 16, 0 : w - w % 16]
from dmenet.
Related Issues (20)
- Output of DMENet HOT 6
- pertained model download link does not work HOT 1
- All-in-focus image generation HOT 9
- RTF dataset HOT 7
- cannot download the dataset and pretrained_model HOT 2
- Problem HOT 2
- OOM issue + pytorch version request HOT 3
- cannot download the dataset HOT 4
- Generate ground-truth binary blur masks HOT 2
- Defocused Image Generation HOT 1
- How to set the lambda in deconvolution HOT 1
- Normalization HOT 7
- Tensorflow v1 is no longer supported HOT 3
- About Pretrained weight
- About the data HOT 1
- How to apply deconvolution from masks? HOT 3
- Generate Defocus Maps HOT 1
- Ram and Memory issue HOT 1
- The max_coc of datasets is not 28. HOT 1
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 dmenet.