mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-08-04 10:47:43 +00:00
check 'ensemble' in scores.csv in workflow eval (#682)
This commit is contained in:
@@ -22,7 +22,7 @@ def print_preds_info(model_name, data_type, preds):
|
||||
else:
|
||||
print(f"Model {model_name} {data_type} predictions shape: {preds.shape}")
|
||||
|
||||
if isinstance(preds, pd.DataFrame):
|
||||
if isinstance(preds, (pd.DataFrame, pd.Series)):
|
||||
print(preds.head())
|
||||
elif isinstance(preds, (np.ndarray, torch.Tensor, tf.Tensor)):
|
||||
print(pd.DataFrame(preds).head())
|
||||
|
||||
Reference in New Issue
Block a user