Questions tagged [generative]
50 questions
0
votes
0 answers
J5 - JavaScript can't find variable "strokeCap"
I'm trying to get into generative Art and using for the first time p5.js for that. Now, I've tried to follow a guide to understand the process. I did exactly how the guide told me to do so, now I'm trying to figure out why I do have an error. The…

iamhungry
- 11
- 1
0
votes
1 answer
having difficulty running p5js generative line art code
I am a beginner and am working on learning generative art and creative coding. this code aims at generating lines randomly and the number of iterations is random as well.
https://editor.p5js.org/rawrro/sketches/j4V6zpnMr
code:
function setup() {
…

rawrro
- 1
0
votes
1 answer
How to do recursion in a L-system inspired rewrite System, without DCG
I am trying to write a tiny recursive rewrite system inspired by Aristid Lindenmayers L-System basically to learn Prolog as well as to think about generative concepts in Prolog. I would like to achieve this without DCG. Due to the initial generate.…

Carsten H
- 831
- 15
- 32
0
votes
1 answer
tf.gradients() returns a list of [None]
Sorry if this sounds like a repeat. I have been through all of the related questions and found no suitable solutions to my problem's context.
I am trying to build a generative model that outputs probabilities for each tracked day of COVID to input…

Kyle Strem
- 11
- 2
0
votes
1 answer
How can I populate a list with points on a curved line?
thanks for reading. I'm trying to drag my mouse in a curved line using pyautogui, from what I've read in other threads(Plot smooth line with PyPlot) on here the best way to do so is to establish a series of points and then smooth it out with scipy.…

Garrett Sawyer
- 43
- 1
- 4
0
votes
2 answers
Gen: How to combine multiple generative function traces in a higher-order generative function?
I'm going through the "Introduction to Modeling in Gen" Notebook at https://github.com/probcomp/gen-quickstart
Section 5 (Calling other generative functions) asks to "Construct a data set for which it is ambiguous whether the line or sine wave…

Omar A
- 68
- 8
0
votes
2 answers
Resolve exploding gradient in VAE
How do you resolve exploding gradient in a deep generative model(VAE)?
NB: the data-set contains a lot of NaNs values in the columns

Jay chuks
- 389
- 1
- 5
- 18
0
votes
2 answers
Generative Adversarial Networks (GANs) in Keras - creating the combined model
I'm trying to create a pretty simple GANs model, and not sure how to combine the generator and the discriminator for training the generator
from keras import optimizers
from keras.layers import Input, Dense
from keras.models import Sequential,…

ian
- 399
- 2
- 15
0
votes
1 answer
(MNIST - GAN) Discriminator and Generator error dropping close to zero after first iteration
To gain insight in generative adversarial networks, i am trying to implement a GAN for the MNIST Dataset myself based on this Stanford university assignment using tensorflow.
I reviewed and researched my solutions to the given exercises carefully,…

Falco Winkler
- 1,082
- 1
- 18
- 24
0
votes
1 answer
how the generator is trained with the output of discriminator in Generative adversarial Networks
Recently I have learned about Generative Adversarial Networks.
For training the Generator, I am somehow confused how it learns. Here is an implemenation of GANs:
`# train generator
z = Variable(xp.random.uniform(-1, 1, (batchsize, nz),…

Kadaj13
- 1,423
- 3
- 17
- 41
0
votes
0 answers
Use Generative or Discriminative model for classification?
Beginner at machine learning here! Just like to get a sensing of how I should approach a classification problem. Given that the problem at hand is to say classify whether an object belongs to class A or class B, I am wondering whether I should use a…

Amoroso
- 945
- 2
- 10
- 21
0
votes
1 answer
Generating Images From Dataset Of Images Using A Neural Network
I'm not looking for a chunk of code as a solution, just the name of the model I'd need to implement or some links would be nice.
My problem is I have a dataset I've made of a few hundred 128x128 images (abstract paintings) - I'd like to simply…

Robbie Barrat
- 510
- 1
- 6
- 24
0
votes
1 answer
DrRacket Generative Recursion Problems Help Needed
I need help on two problems for my computer science class. The problems are below.
Write a function contains-all? that consumes two lists of numbers and returns true if the first list contains all elements of the second one and false otherwise. For…
user5505626
0
votes
1 answer
Generating documents from LDA topic model
I'm learning a topic model from a set of documents and that's working well. But I'm wondering if any existing system will actually generate new documents from the topics and words in the model.
Ie. say I want a new document of topic 0, will any of…

ten
- 115
- 1
- 8
0
votes
1 answer
how handle categorical data in sklearn GMM mixture model
This is a stupid question but is there a way to feed in categorical observations in sklearn GMM module ?
My data looks somewhat like: …

cryp
- 2,285
- 3
- 26
- 33