Comments (5)
Hi @SahadevPoudel can you provide the code with step > 1 that doesn't work?
from patchify.py.
from patchify.py.
I think the error message already clarified that it only supports uniform step size.
It is not possible to create patches with 256 as the width and 2 as the step size for 7221 pixels.
Try (904,256,3) as the patch size and step size 5 instead.
from patchify.py.
Will you elaborate how do you set patch size and step size for any random image. For example, Image size is (5289, 7221, 3) and required patch size is 224,224,3?
from patchify.py.
@SahadevPoudel I just added one paragraph at https://github.com/dovahcrow/patchify.py#merge-patches-into-original-image.
from patchify.py.
Related Issues (18)
- How to calculate step if > 1 HOT 2
- Does unpatchify average between overlapping patches? HOT 6
- Preserving tiff meta data HOT 1
- images of same shape do not always return same number of patches
- The unpatchify need a very small step... HOT 2
- Great job! HOT 1
- Getting fewer images than expected HOT 2
- patch.save() dpi by default 96
- 3D volumes HOT 4
- For 3d image patch, when passing more than 3 channels the documentation for 'patch size' is incorrect
- Circular Import Issue
- Different step size between axis HOT 1
- 3D unpatchify issue HOT 2
- Allow unpatchify with nonuniform step size
- distortion in the unpatchified image HOT 1
- Python 3.9 support HOT 2
- Does unpatchify perform averaging ? 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 patchify.py.