Duplicated from microsoft/TRELLIS.2
43 unmodified lines4445464748495043 unmodified lines Returns: Image.Image: The preprocessed image. """ print(torch.cuda.get_device_name()) processed_image = pipeline.preprocess_image(image) return processed_image