diff --git a/aitviewer/utils/bvh.py b/aitviewer/utils/bvh.py index 370be71..17e00f0 100644 --- a/aitviewer/utils/bvh.py +++ b/aitviewer/utils/bvh.py @@ -27,6 +27,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ + import re import numpy as np diff --git a/tests/utils.py b/tests/utils.py index cfa731d..1b65ede 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -68,7 +68,7 @@ def viewer(refs): relative_error = np.asarray(diff).sum() / np.full(np.asarray(img).shape, 255).sum() # If the relative error is higher than this threshold report a failure. - if relative_error > 3e-3: + if relative_error > 4e-3: os.makedirs(FAILURE_DIR, exist_ok=True) # Store the wrong result and diff for debugging.