Skip to content

Commit

Permalink
Fix python module path
Browse files Browse the repository at this point in the history
  • Loading branch information
compiaffe committed Feb 23, 2018
1 parent d4787ba commit c4d15da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion launch/mesh_completion_server.launch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

<launch>
<node pkg="pc_object_completion_cnn" type="mesh_completion_server.py" name="mesh_completion_server" args="depth">
<node pkg="pc_object_completion_cnn" type="mesh_completion_server.py" name="pc_cnn_mesh" args="depth">
<!-- arguments define which CNN gets used, options are depth and depth_and_tactile -->
</node>
depth
Expand Down
4 changes: 2 additions & 2 deletions scripts/shape_completion_server/mesh_completion_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,14 +222,14 @@ def completion_cb(self, goal):
cnns = {
"depth": {
"cnn_python_module":
"shape_completion_server.trained_models.depth_y17_m05_d26_h14_m22_s35_bare_keras_v2.reconstruction_network",
"trained_models.depth_y17_m05_d26_h14_m22_s35_bare_keras_v2.reconstruction_network",
"weights_filepath":
rospkg.RosPack().get_path('pc_object_completion_cnn') +
'/scripts/shape_completion_server/trained_models/depth_y17_m05_d26_h14_m22_s35_bare_keras_v2/best_weights.h5'
},
"depth_and_tactile": {
"cnn_python_module":
"shape_completion_server.trained_models.depth_and_tactile_y17_m08_d09_h15_m55_s53_bare_keras_v2.reconstruction_network",
"trained_models.depth_and_tactile_y17_m08_d09_h15_m55_s53_bare_keras_v2.reconstruction_network",
"weights_filepath":
rospkg.RosPack().get_path('pc_object_completion_cnn') +
'/scripts/shape_completion_server/trained_models/depth_and_tactile_y17_m08_d09_h15_m55_s53_bare_keras_v2/best_weights.h5'
Expand Down

0 comments on commit c4d15da

Please sign in to comment.