|
|
|
@@ -130,7 +130,7 @@ class RKMEImageSpecification(RegularStatSpecification): |
|
|
|
raise ModuleNotFoundError(f"RKMEImageSpecification is not available because 'torchvision' is not installed! Please install it manually." ) |
|
|
|
|
|
|
|
if X.shape[2] != RKMEImageSpecification.IMAGE_WIDTH or X.shape[3] != RKMEImageSpecification.IMAGE_WIDTH: |
|
|
|
X = Resize((RKMEImageSpecification.IMAGE_WIDTH, RKMEImageSpecification.IMAGE_WIDTH), antialias=None)(X) |
|
|
|
X = Resize((RKMEImageSpecification.IMAGE_WIDTH, RKMEImageSpecification.IMAGE_WIDTH), antialias=True)(X) |
|
|
|
|
|
|
|
num_points = X.shape[0] |
|
|
|
X_shape = X.shape |
|
|
|
|