From b2fc091fd79d95be220f2c4a09ec6904aa8ab9da Mon Sep 17 00:00:00 2001 From: Commandre Benjamin <benjamin.commandre@irstea.fr> Date: Mon, 24 Sep 2018 10:44:31 +0200 Subject: [PATCH] Suppression des appels de modules inutiles --- Vhrs.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Vhrs.py b/Vhrs.py index 7edd0f4..c76252a 100644 --- a/Vhrs.py +++ b/Vhrs.py @@ -20,7 +20,6 @@ import os, sys import glob import Outils -import psutil import otbApplication as otb from multiprocessing import Process @@ -52,10 +51,6 @@ class Vhrs(): self.out_sfs = "{0}_sfs.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.start() -- GitLab