We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 634be4c commit 593da36Copy full SHA for 593da36
examples/research_projects/lpl/lpl_sdxl.py
@@ -1402,8 +1402,8 @@ def compute_time_ids(original_size, crops_coords_top_left):
1402
for layer_idx, stats in enumerate(lpl_fn.last_feature_stats):
1403
log_data.update(
1404
{
1405
- f"lpl/features/layer_{layer_idx}/mean": stats["mean"].item(),
1406
- f"lpl/features/layer_{layer_idx}/std": stats["std"].item(),
+ f"lpl/features/layer_{layer_idx}/mean": stats["mean"],
+ f"lpl/features/layer_{layer_idx}/std": stats["std"],
1407
f"lpl/features/layer_{layer_idx}/outlier_ratio": stats.get(
1408
"outlier_ratio", 0.0
1409
),
0 commit comments