Skip to content
Snippets Groups Projects
Commit c254bf20 authored by Chris Smith's avatar Chris Smith
Browse files

Revert "Commented out unimplemented imports"

This reverts commit f6b76db8.
parent f6b76db8
No related branches found
No related tags found
1 merge request!11see commits
......@@ -8,17 +8,17 @@ def no_impl(*args,**kwargs):
raise NotImplementedError("You need to install Multiprocess package (pip,github) to do a parallel Computation.\n"
"Switching to the serial version. ")
# from .feature_extraction import FeatureExtractorParallel, FeatureExtractorSerial
# from .geometric_transformation import geoTransformerParallel, geoTransformerSerial
#
# FeatureExtractor = FeatureExtractorSerial
# geoTransformer = geoTransformerSerial
#
# try:
# import multiprocess
# except ImportError:
# FeatureExtractorParallel = no_impl
# geoTransformerParallel = no_impl
# else:
# FeatureExtractor = FeatureExtractorParallel
# geoTransformer = geoTransformerParallel
from .feature_extraction import FeatureExtractorParallel, FeatureExtractorSerial
from .geometric_transformation import geoTransformerParallel, geoTransformerSerial
FeatureExtractor = FeatureExtractorSerial
geoTransformer = geoTransformerSerial
try:
import multiprocess
except ImportError:
FeatureExtractorParallel = no_impl
geoTransformerParallel = no_impl
else:
FeatureExtractor = FeatureExtractorParallel
geoTransformer = geoTransformerParallel
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment