SCIInstitute / ShapeWorks

ShapeWorks
http://sciinstitute.github.io/ShapeWorks/
Other
100 stars 32 forks source link

DeepSSM: When percent variability is high enough to require all modes, exception is thrown #2200

Open akenmorris opened 4 months ago

akenmorris commented 4 months ago

E.g. Set to 100%:

[2024-02-13 16:45:21.889] [error] Exception Caught: IndexError: index 0 is out of bounds for axis 0 with size 0

At:
  /Users/amorris/sci/shapeworks/code/Python/DataAugmentationUtilsPackage/DataAugmentationUtils/Embedder.py(46): run_PCA
  /Users/amorris/sci/shapeworks/code/Python/DataAugmentationUtilsPackage/DataAugmentationUtils/Embedder.py(25): __init__
  /Users/amorris/sci/shapeworks/code/Python/DataAugmentationUtilsPackage/DataAugmentationUtils/DataAugmentation.py(36): point_based_aug
  /Users/amorris/sci/shapeworks/code/Python/DataAugmentationUtilsPackage/DataAugmentationUtils/__init__.py(22): runDataAugmentation
  /Users/amorris/sci/shapeworks/code/Python/DeepSSMUtilsPackage/DeepSSMUtils/run_utils.py(289): run_data_augmentation