Questions tagged [image-generation]
111 questions
1
vote
1 answer
How to average the two images, feed them as input to a network and output the two separate images that were used in the average input?
Given a pair of images from CIFAR10, average the two images, feed them as input to a network and output the two separate images that were used in the average input.
I am currently using conditional GAN and autoencoders to achieve this task. But have…

Ammar N. Abbas
- 43
- 4
1
vote
1 answer
having trouble making an image generator
So i already followed this https://www.tensorflow.org/tutorials/generative/dcgan and it worked just fine. So now I'm attempting to do the same thing but on my own data (of 69 850x480 images). It seems pretty obvious that one of the arrays I'm using…

Will Mulcahey
- 89
- 1
- 7
1
vote
0 answers
In the U-Net architecture, h and w don't match, I don't know whether I misunderstood it or not
I'm confused about the image-transformation structure in a paper that I read. The output dimensions of the layers they concatenate do not match.
Should it actually be layer 9 and layer 7?
class ImageTransformationNetwork(nn.Module):
def…

Dongliang Zhou
- 11
- 3
1
vote
1 answer
Why custom image generator in keras gives error "object cannot be interpreted as an integer"?
I used a template of a custom image generator in keras, so that I can use hdf5 files as input. Initially, the code was giving a "shape" error, so I only included from tensorflow.python.keras.utils.data_utils import Sequence following this post. Now…

NeStack
- 1,739
- 1
- 20
- 40
1
vote
0 answers
What's the best way of generating arbitrary long image (fresco)
I'd like to create a keras model to produce infinite fresco based on some photos found on http://earthview.withgoogle.com
I'd like to be able to generate an arbitrary number of pixel rows with smooth transition between them.
My first idea was to…

Okhr
- 11
- 2
1
vote
2 answers
generating images in Azure asp.net
I'm currently running a site of a dedicated server but want to scale up using Microsofts Azure cloud platform in the future but im unsure if a certin part of my code will work on azure.
The site consists of a gallery of items with an image for each…

carrot_programmer_3
- 915
- 3
- 14
- 28
1
vote
2 answers
Are there any composite-avatar scripts that I could steal or take a look at?
In a project I'll be working on soon there will be a need to generate avatars. The generation process will be one of those where the user can select different heads, hairstyles, clothing, etc. Some items will also be unavailable at first and will…

Vilx-
- 104,512
- 87
- 279
- 422
1
vote
2 answers
Generating video or images of geometrical objects from data
I'm working in a course's project to predict the velocity and position of the solar system planets (and other objects). It will be really cool if I can visualize the predicted objects data, if it's possible generating 3D images, if in video that's…

Jonathan Barbero
- 2,504
- 1
- 26
- 47
1
vote
1 answer
GD library create image with dynamic text on it
I want to place text generated dynamically from a sql select, on an image created with GD library. I'm using this to create the image and place some text on it, but I want to place the variable $users with the sql select data into the image:
$query…

victor
- 87
- 2
- 11
1
vote
4 answers
php print and save a div as .jpeg
Possible Duplicate:
How to save webpage as a image file using PHP?
i want user to enter few inputs then when he is done click save
all his inputs are sent to a php file that save these inputs and responde with
a new printable page that have a…

Zalaboza
- 8,899
- 16
- 77
- 142
0
votes
1 answer
Live Thumbnails/Large Image
Is there any way to get a certain thumbnail generated by PHP from a live given URI? I also would want to do this for the live on click image.

Jess McKenzie
- 8,345
- 27
- 100
- 170
0
votes
2 answers
Drawing arbitary pictures on a webpage
I need to display a runtime-generated image (mostly consisting of nice-looking boxes, lines and text) on a webpage. We're currently using ASP.NET MVC3.
The problem is, I haven't really done web development before, and I have no idea how to go about…

thecoop
- 45,220
- 19
- 132
- 189
0
votes
2 answers
Keras Variational Autoencoder with ImageDataGenerator returns InvalidArgumentError: Graph execution error
I try to build an autoencoder for image generation, but my first prototype refuse to work.
The main problem gives the data generator in vae.fit(image_generator). It should fill training and validation but there are some problems of input or output…

Denys
- 3
- 4
0
votes
1 answer
Python PIL circle crop image from corner
I have an existing PNG image that I want to crop to a circle, but I want the circle centered at the top left corner of the image. Then, the cropped image needs to be posted onto another image I've generated. I've tried doing this with putalpha,…

Thomas Smeman
- 175
- 11
0
votes
0 answers
Fine-tuning ImageNet diffusion model on unconditional/conditional data
I want to fine tune some generative diffusion model (DDPM), lets say trained on ImageNet (NOT Stable Diffusion which is text2img), to some other data like CelebA or CIFAR-10. I wonder two things:
does my pretrained model needs to be unconditional?…

alpk
- 43
- 5