Comments (4)
Yes, the shape of covs
is actually not N x M x 2 x 2 unless covs_raw
is False, sorry about that. If you run the code you'll see it's an N x M x 4 packed tensor of all the blob parameters which is then processed into the final covariance matrix. Apologies for the misleading code segment!
from blobgan.
Hi @dave-epstein,
Thanks for the explanation. I run the following code:
layout, img = model.gen(layout=layout, ret_layout=True)
It turns out that the bug appeared (that NM22 is outputted) when the layout
is provided. As a result, a simple reshape from NM22
to NM4
would work, right?
from blobgan.
That should not be necessary. I've run that code snippet that you sent without any problem. See this line which takes care of the correct parameter settings automatically: https://github.com/dave-epstein/blobgan/blob/main/src/models/blobgan.py#L183
Do you have an old version of the code or something like that?
from blobgan.
It worked after updating the code to the latest version. Thanks.
from blobgan.
Related Issues (12)
- why pass a dict to layoutstyledGan as styles parmater?
- Getting "RuntimeError: CUDA error: out of memory" when trying to train on multiple GPUs HOT 5
- Restyling and cloning code
- Colab Interactively edit scenes error (indices should be either on cpu or on the same device as the indexed tensor (cpu)) HOT 1
- Pretrained encoder HOT 1
- Changing number of blobs HOT 2
- How to edit blobs? HOT 3
- Blob size and opacity HOT 2
- Regarding the running time HOT 2
- Inversion HOT 1
- Getting Error of "No Image" When Trying to Train on Custom Dataset 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 blobgan.