Parcourir la source

Merge branch 'release/v0.0.2'

Jérôme BUISINE il y a 5 ans
Parent
commit
df9210f0c2
3 fichiers modifiés avec 7 ajouts et 3 suppressions
  1. 1 1
      README.md
  2. 2 2
      classes/Transformation.py
  3. 4 0
      requirements.txt

+ 1 - 1
README.md

@@ -10,7 +10,7 @@ Project which contains dependencies used in few developed projects:
 ## Add as dependency
 
 ```bash
-git add submodule https://github.com/prise-3d/Thesis-DeepLearning-modules.git modules
+git submodule add https://github.com/prise-3d/Thesis-DeepLearning-modules.git modules
 ```
 
 ## License

+ 2 - 2
classes/Transformation.py

@@ -1,6 +1,6 @@
 import os
 
-from transformation_functions import svd_reconstruction, fast_ica_reconstruction, ipca_reconstruction
+from ipfml.processing import svd_reconstruction, fast_ica_reconstruction, ipca_reconstruction
 
 # Transformation class to store transformation method of image and get usefull information
 class Transformation():
@@ -47,7 +47,7 @@ class Transformation():
 
         if self.transformation == 'static':
             # param contains the whole path of image
-            path = self.param
+            path = os.path.join(self.param, self.transformation)
 
         return path
 

+ 4 - 0
requirements.txt

@@ -0,0 +1,4 @@
+os
+numpy
+ipfml
+sklearn