Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ctlearn/tools/predict_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -973,9 +973,6 @@ def _create_feature_vectors_table(
"""
# Create the feature vector table
feature_vector_table = example_identifiers.copy()
feature_vector_table.remove_columns(
["pointing_azimuth", "pointing_altitude", "time"]
)
columns_list, shapes_list = [], []
if classification_feature_vectors is not None:
is_valid_col = ~np.isnan(
Expand Down Expand Up @@ -1007,6 +1004,9 @@ def _create_feature_vectors_table(
)
)
if direction_feature_vectors is not None:
feature_vector_table.remove_columns(
["pointing_azimuth", "pointing_altitude", "time"]
)
is_valid_col = ~np.isnan(
np.min(direction_feature_vectors, axis=1), dtype=bool
)
Expand Down
Loading