Skip to content

Commit

Permalink
more logging to help troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
basaks committed Nov 9, 2023
1 parent ae3b531 commit e264f82
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions uncoverml/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from os.path import basename
from pathlib import Path

from uncoverml import geoio
from uncoverml import mpiops
from uncoverml.image import Image
from uncoverml.targets import Targets
Expand Down Expand Up @@ -71,7 +72,10 @@ def extract_features(image_source, targets, n_subchunks, patchsize):

def transform_features(feature_sets, transform_sets, final_transform, config):
# apply feature transforms
feature_names = geoio.feature_names(config)
log.info(f"features are sorted as: \n {feature_names}")
transformed_vectors = [t(c) for c, t in zip(feature_sets, transform_sets)]

# TODO remove this when cubist gets removed
if config.cubist or config.multicubist:
feature_vec = OrderedDict()
Expand Down

0 comments on commit e264f82

Please sign in to comment.