bmad4ever / comfyui_wfc_like Goto Github PK
View Code? Open in Web Editor NEWAn "opinionated" Wave Function Collapse implementation with a set of nodes for comfyui
Home Page: https://ko-fi.com/b_mad
License: MIT License
An "opinionated" Wave Function Collapse implementation with a set of nodes for comfyui
Home Page: https://ko-fi.com/b_mad
License: MIT License
The following generation produces the error below when using desktop ( relevant to reproduce ).
... wcf.py", line 283, in update_open_nodes
wost.remove((y, x))
KeyError: (6, 6)
The type of error, and its "rarity", indicates that it is likely caused by different states having the same hash code.
This problem has been known since day one, and I was not planning on solving it ( using hash codes, is the intended implementation ).
Nevertheless, besides stopping the generation, the error also messes with the progress bar on posterior executions.
Thus, I should implement a workaround to return the best solution and some message/warning that a problem occurred.
Complementarily, I may also take a peek at alternative ways to hash the state.
After deciding what to do/show post error, the state hash code collision problem ( not the problems that arise from this ) should be added to the documentation.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.