mirror of
https://github.com/wassname/Pointnet2_PyTorch.git
synced 2026-06-27 16:00:07 +08:00
Minor changes to build system
This commit is contained in:
+1
-2
@@ -19,7 +19,6 @@ add_custom_command(OUTPUT "${CMAKE_CURRENT_SOURCE_DIR}/utils/_ext/pointnet2/_poi
|
|||||||
DEPENDS ${wrapper_sources}
|
DEPENDS ${wrapper_sources}
|
||||||
VERBATIM)
|
VERBATIM)
|
||||||
|
|
||||||
add_custom_target(ext ALL
|
add_custom_target(pointnet2_ext ALL
|
||||||
DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/utils/_ext/pointnet2/_pointnet2.so")
|
DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/utils/_ext/pointnet2/_pointnet2.so")
|
||||||
|
|
||||||
set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${CMAKE_CURRENT_SOURCE_DIR}/utils/_ext")
|
|
||||||
|
|||||||
+1
-1
@@ -31,7 +31,7 @@ def angle_axis(angle: float, axis: np.ndarray):
|
|||||||
+ (1.0 - cosval) * np.outer(u, u)
|
+ (1.0 - cosval) * np.outer(u, u)
|
||||||
)
|
)
|
||||||
# yapf: enable
|
# yapf: enable
|
||||||
return R
|
return R.float()
|
||||||
|
|
||||||
|
|
||||||
class PointcloudScale(object):
|
class PointcloudScale(object):
|
||||||
|
|||||||
Reference in New Issue
Block a user