🤖🖌️ Generate photo-realistic textures based on source images or (soon) PBR materials. Remix, remake, mashup! Useful if you want to create variations on a theme or elaborate on an existing texture.
GNU Affero General Public License v3.0
706
stars
32
forks
source link
AttributeError: 'Tensor' object has no attribute 'save' #33
HI I want to create texture from 2 or more images. I tried the mashup code but got error. I resized my images to 512x512
sources = [
io.load_image_from_file("/home/casper/Desktop/point_clouds/texturize/tex1.png"),
io.load_image_from_file("/home/casper/Desktop/point_clouds/texturize/tex2.png")
# io.load_image_from_file("/home/casper/Desktop/point_clouds/texturize/tex3.png"),
# io.load_image_from_file("/home/casper/Desktop/point_clouds/texturize/tex4.png")
]
# Only process one octave to retain photo-realistic output.
mashup = commands.Mashup(sources)
for result in api.process_octaves(mashup, octaves=5):
pass
# The output can be saved in any PIL-supported format.
result.images.save("output.png")
Also tried withresult.image.save('output.png') but it doesn't work. is it correct any help??
AttributeError: 'Result' object has no attribute 'image'
HI I want to create texture from 2 or more images. I tried the mashup code but got error. I resized my images to 512x512
Also tried with
result.image.save('output.png')
but it doesn't work. is it correct any help??AttributeError: 'Result' object has no attribute 'image'