texturize
texturize copied to clipboard
AttributeError: 'Tensor' object has no attribute 'save'
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 with result.image.save('output.png')
but it doesn't work. is it correct any help??
AttributeError: 'Result' object has no attribute 'image'