Comments (2)
You're stressing the limit of my collage maker...
A 105570x66015 RGB image in float32 takes about 77.88GB of memory. Considering that we need to keep both the tiles and the resulting collage in memory, we need double the amount.
At this size, all operations that operate on the collage will be extremely slow. This includes displaying it on GUI, resizing, blending, etc. GPU won't help either, as even Tesla A100 80GB can barely fit one such collage.
Displaying a 77.88GB image will most likely hang the GUI. A potential solution to this is to resize the collage to a reasonable size (say below 10000 pixel wide), and then display it. But the resize operation will be slow too. Let me know what you think.
By the way, given the scale of the problem you're working on, I'm curious about what kind of hardware do you have on your workstation.
from image-collage-maker.
Issue not active. Closed for now.
from image-collage-maker.
Related Issues (20)
- def __init__(self, type: Any, help: str, default=None, nargs=None, choices: List[Any]=None) -> None: HOT 2
- --resize_opt center not work HOT 3
- Feature Request: CSV log of each tile used HOT 6
- BUG: GUI runs out of memory/needs mem_limit HOT 3
- BUG: CSV branch does not successfully write CSV - character maps to <undefined> HOT 2
- BUG (GUI): Loading Tiles Generates Error if "Infer height" is checked HOT 5
- Collage with transparency HOT 4
- how to make the mosaic generation process as dynamic video or gif HOT 2
- [Feature] Multiple output HOT 3
- [Feature] Multiple output HOT 1
- BUG: CSV Output reports all tiles loaded, not tiles used HOT 1
- Master Branch Does not Seem to be using GPU in GUI HOT 2
- ModuleNotFoundError: No module named 'tkinter' HOT 1
- [feature request] Progress bar on "Aligning images on the grid" stage of tile loading HOT 2
- ModuleNotFoundError: No module named 'numpy' HOT 3
- Problem with `--resize_opt center` not cropping the tile image into Square HOT 3
- UnboundLocalError: local variable 'w' referenced before assignment HOT 2
- Additional features HOT 2
- def limit_wh(w: int, h: int, max_width: int, max_height: int): HOT 22
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 image-collage-maker.