Commit b2fc091f authored by Commandre Benjamin's avatar Commandre Benjamin
Browse files

Suppression des appels de modules inutiles

1 merge request!1Develop
Showing with 0 additions and 5 deletions
+0 -5
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
import os, sys import os, sys
import glob import glob
import Outils import Outils
import psutil
import otbApplication as otb import otbApplication as otb
from multiprocessing import Process from multiprocessing import Process
...@@ -52,10 +51,6 @@ class Vhrs(): ...@@ -52,10 +51,6 @@ class Vhrs():
self.out_sfs = "{0}_sfs.TIF".format(self._image[:-4]) self.out_sfs = "{0}_sfs.TIF".format(self._image[:-4])
self.out_haralick = "{0}_haralick.TIF".format(self._image[:-4]) self.out_haralick = "{0}_haralick.TIF".format(self._image[:-4])
ram_dispo = round((psutil.virtual_memory().available/pow(2,20))/2)
self.logger.debug("ram_dispo : {0}".format(ram_dispo))
p_sfs = Process(target=self.sfs_texture_extraction) p_sfs = Process(target=self.sfs_texture_extraction)
p_sfs.start() p_sfs.start()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment