Add predicted objects to predict command
All threads resolved!
All threads resolved!
Compare changes
- Tristan Faine authored
+ 252
− 16
@@ -6,18 +6,43 @@ import numpy as np
@@ -31,13 +56,89 @@ def split_text(text, level, word_separators, line_separators):
@@ -49,9 +150,130 @@ def compute_coverage(text: str, max_value: float, offset: int, attentions):
@@ -59,8 +281,11 @@ def plot_attention(
@@ -70,6 +295,9 @@ def plot_attention(
@@ -84,27 +312,35 @@ def plot_attention(