mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-20 06:10:34 +08:00
lower eps
Summary: Lower the epsilon value in the IoU3D calculation to fix small numerical issue from GH#1082 Reviewed By: bottler Differential Revision: D34371597 fbshipit-source-id: 12443fa359b7755ef4ae60e9adf83734a1a295ae
This commit is contained in:
committed by
Facebook GitHub Bot
parent
967a099231
commit
3de41223dd
@@ -12,7 +12,7 @@
|
||||
#include <cstdio>
|
||||
#include "utils/float_math.cuh"
|
||||
|
||||
__constant__ const float kEpsilon = 1e-4;
|
||||
__constant__ const float kEpsilon = 1e-5;
|
||||
|
||||
/*
|
||||
_PLANES and _TRIS define the 4- and 3-connectivity
|
||||
|
||||
@@ -18,7 +18,8 @@
|
||||
#include <type_traits>
|
||||
#include "utils/vec3.h"
|
||||
|
||||
const auto kEpsilon = 1e-4;
|
||||
const auto kEpsilon = 1e-5;
|
||||
|
||||
/*
|
||||
_PLANES and _TRIS define the 4- and 3-connectivity
|
||||
of the 8 box corners.
|
||||
|
||||
Reference in New Issue
Block a user