ComfyUI-3D-Pack
ComfyUI-3D-Pack copied to clipboard
Add size parameter to image_to_tensor function
Added input size parameter to image_to_tensor function for standardising image dimensions. Check if images match required input dimensions and resize them if not before conversion. Avoids tensor mismatch errors.