Open yani-rl-ai opened 4 years ago
Hi @ROSNovice, ~/gym-gazebo-hsr/sacq-hsr/core.py is the file you are importing. Have you tried adding ~/gym-gazebo-hsr/sacq-hsr/ to your PYTHONPATH?
hi @ascane thank you for your reply.
i have install all the required dependencies but the HSR is not started training an a lot of error like this following result :
(hsrbgym) kubota-lab@kubotalab-P960EF:~/gym-gazebo-hsr/sacq-hsr/sacx/experiments$ python gazebohsr_sacx.py Using Theano backend. ... logging to /home/kubota-lab/.ros/log/28702dbc-c4e0-11ea-999a-5076afa87c35/roslaunch-kubotalab-P960EF-458.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://10.0.1.40:41513/ ros_comm version 1.12.14
PARAMETERS
NODES
auto-starting new master process[master]: started with pid [469] ROS_MASTER_URI=http://10.0.1.40:11311/
setting /run_id to 28702dbc-c4e0-11ea-999a-5076afa87c35 process[rosout-1]: started with pid [483] started core service [/rosout] Roscore launched! Gazebo launched! ... logging to /home/kubota-lab/.ros/log/28702dbc-c4e0-11ea-999a-5076afa87c35/roslaunch-kubotalab-P960EF-500.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://10.0.1.40:43463/
PARAMETERS
NODES /hsrb/wrist_wrench/ compensation_node (tmc_force_torque_sensor_compensation/force_torque_sensor_compensation_node) /hsrb/ controller_spawner (controller_manager/spawner) hsrb_grasp_state_observer (hsrb_grasp_state_observer/grasp_state_observer) impedance_control (hsrb_impedance_control/hsrb_impedance_control_node) interactive_teleop (tmc_interactive_teleop/interactive_teleop_node) interactive_teleop_joy (tmc_interactive_teleop/interactive_teleop_node) joy_node (joy/joy_node) metric_rect (nodelet/nodelet) odometry_switcher (tmc_odometry_switcher/odometry_switcher_node) pseudo_endeffector_controller (hsrb_pseudo_endeffector_controller/hsrb_pseudo_endeffector_controller) pseudo_velocity_controller (tmc_pseudo_velocity_controller/pseudo_velocity_controller) stereo_camera_nodelet_manager (nodelet/nodelet) /hsrb/head_rgbd_sensor/rgb/ debayer (nodelet/nodelet) nodelet_manager (nodelet/nodelet) / action_give (tmc_manipulation_action/action_give_hsrb) action_manager (tmc_action_manager/action_manager) action_move_base (tmc_action_move_base/action_move_base) action_pick_up (tmc_manipulation_action/action_pick_up_hsrb) action_planner (tmc_action_planner/action_planner) action_put (tmc_manipulation_action/action_put_hsrb) action_take (tmc_manipulation_action/action_take_hsrb) attached_object_publisher (tmc_attached_object_publisher/attached_object_publisher) base_path_planner (tmc_base_path_planner/base_path_planner) base_rviz_wrapper (tmc_base_visualizer/base_rviz_wrapper) collision_environment (tmc_collision_environment/collision_environment) collision_trajectory_filter_arm (tmc_collision_trajectory_filter/collision_trajectory_filter) collision_trajectory_filter_head (tmc_collision_trajectory_filter/collision_trajectory_filter) depth_hw_float_image_pub (topic_tools/relay) depth_hw_rect_image_pub (topic_tools/relay) depth_hw_rect_raw_image_pub (topic_tools/relay) depth_raw_image_pub (topic_tools/relay) depthcloud_encoder_node (tmc_depthcloud_encoder/tmc_depthcloud_encoder_node) env_db (tmc_env_db/env_db_node) gazebo (gazebo_ros/gzserver) grid_map_server (tmc_grid_map_server/grid_map_server) head_l_stereo_camera_frame_pub (tf/static_transform_publisher) head_r_stereo_camera_frame_pub (tf/static_transform_publisher) head_rgbd_sensor_depth_frame_pub (tf/static_transform_publisher) head_rgbd_sensor_rgb_frame_pub (tf/static_transform_publisher) heartbeat_watcher (tmc_web_helper/heartbeat_watcher.py) hsrb_planner (tmc_robot_rrt_planner_node/robot_rrt_planner_node) hsrb_timeopt_filter (hsrb_timeopt_ros/hsrb_timeopt_filter) hsrb_timeopt_filter_node (hsrb_trajectory_filter/hsrb_timeopt_filter_node.py) hsrb_web_server_node (hsrb_web_server/hsrb_web_server_node) interactive_grasp_planner (tmc_interactive_grasp_planner/interactive_grasp_planner_node) interactive_marker_proxy (interactive_marker_proxy/proxy) joint_state_publisher (joint_state_publisher/joint_state_publisher) l_stereo_raw_image_pub (topic_tools/relay) laser_2d_localizer (tmc_laser_2d_localizer/laser_2d_localizer) marker (tmc_stereo_marker_recognizer/stereo_marker_recognizer_node) marker_based_localizer (tmc_marker_based_localizer/marker_based_localizer) mesh_data_server (tmc_mesh_data_server/mesh_data_server) move_base (tmc_move_base/move_base_node) normal_point_cloud_pub (topic_tools/relay) object_information_publisher (tmc_object_information_publisher/object_information_publisher) omni_path_follower (tmc_omni_path_follower/omni_path_follower) perspective_transformer (tmc_perspective_transformer/perspective_transformer_node) placement_area_detector (tmc_placement_area_detector/placement_area_detector_node) pose_integrator (tmc_pose_integrator/pose_integrator) r_stereo_raw_image_pub (topic_tools/relay) remote_exec_manager (tmc_remote_exec/manager_node.py) restoredb (tmc_env_db/restoredb.sh) rgb_raw_image_pub (topic_tools/relay) rgb_rect_mono_image_pub (topic_tools/relay) robot_state_publisher (robot_state_publisher/robot_state_publisher) rosapi (rosapi/rosapi_node) rosbridge_websocket (rosbridge_server/rosbridge_websocket) safe_pose_changer (tmc_safe_pose_changer/safe_pose_changer) safety_velocity_limiter (tmc_safety_velocity_limiter/safety_velocity_limiter) scan_to_cloud_converter (scan_to_cloud_converter/scan_to_cloud_converter_node) spawn_hsrb_model (gazebo_ros/spawn_model) tabletop_segmentator_node (tmc_tabletop_segmentator/server) talk_action_simulator (tmc_talk_action_simulator/talk_request_server) task_carry (tmc_web_helper/pseudo_task_carry.py) task_manager (tmc_task_manager/task_manager) tf2_buffer_server (tf2_ros/buffer_server) tf2_web_republisher (tf2_web_republisher/tf2_web_republisher) tmc_map_merger (tmc_map_merger/map_merger_node) trajectory_filter (trajectory_filter_server/trajectory_filter_server) velocity_switcher (tmc_velocity_switcher/velocity_switcher) viewpoint_controller (tmc_viewpoint_controller/viewpoint_controller) web_video_server (web_video_server/web_video_server) web_video_server2 (web_video_server/web_video_server)
ROS_MASTER_URI=http://10.0.1.40:11311/
process[gazebo-1]: started with pid [546]
process[spawn_hsrb_model-2]: started with pid [551]
process[robot_state_publisher-3]: started with pid [552]
process[joint_state_publisher-4]: started with pid [554]
process[head_l_stereo_camera_frame_pub-5]: started with pid [555]
process[head_r_stereo_camera_frame_pub-6]: started with pid [566]
process[head_rgbd_sensor_rgb_frame_pub-7]: started with pid [582]
process[head_rgbd_sensor_depth_frame_pub-8]: started with pid [607]
process[hsrb/head_rgbd_sensor/rgb/nodelet_manager-9]: started with pid [622]
process[hsrb/head_rgbd_sensor/rgb/debayer-10]: started with pid [636]
process[rgb_raw_image_pub-11]: started with pid [642]
process[rgb_rect_mono_image_pub-12]: started with pid [650]
process[l_stereo_raw_image_pub-13]: started with pid [677]
process[r_stereo_raw_image_pub-14]: started with pid [704]
process[depth_raw_image_pub-15]: started with pid [720]
process[depth_hw_float_image_pub-16]: started with pid [747]
process[depth_hw_rect_image_pub-17]: started with pid [755]
process[depth_hw_rect_raw_image_pub-18]: started with pid [771]
process[normal_point_cloud_pub-19]: started with pid [790]
process[hsrb/odometry_switcher-20]: started with pid [805]
process[hsrb/controller_spawner-21]: started with pid [835]
process[hsrb/stereo_camera_nodelet_manager-22]: started with pid [850]
process[hsrb/wrist_wrench/compensation_node-23]: started with pid [865]
process[hsrb/metric_rect-24]: started with pid [874]
process[talk_action_simulator-25]: started with pid [878]
process[mesh_data_server-26]: started with pid [881]
process[collision_environment-27]: started with pid [888]
process[object_information_publisher-28]: started with pid [892]
process[attached_object_publisher-29]: started with pid [904]
process[trajectory_filter-30]: started with pid [926]
process[hsrb_timeopt_filter-31]: started with pid [937]
process[hsrb_timeopt_filter_node-32]: started with pid [942]
process[perspective_transformer-33]: started with pid [945]
process[safe_pose_changer-34]: started with pid [951]
process[hsrb/impedance_control-35]: started with pid [956]
process[hsrb/hsrb_grasp_state_observer-36]: started with pid [979]
process[collision_trajectory_filter_head-37]: started with pid [992]
process[collision_trajectory_filter_arm-38]: started with pid [1026]
process[hsrb_planner-39]: started with pid [1048]
process[interactive_grasp_planner-40]: started with pid [1062]
process[base_path_planner-41]: started with pid [1076]
process[omni_path_follower-42]: started with pid [1090]
process[pose_integrator-43]: started with pid [1106]
process[base_rviz_wrapper-44]: started with pid [1110]
process[grid_map_server-45]: started with pid [1113]
process[tmc_map_merger-46]: started with pid [1114]
process[laser_2d_localizer-47]: started with pid [1120]
process[move_base-48]: started with pid [1123]
process[action_move_base-49]: started with pid [1138]
process[scan_to_cloud_converter-50]: started with pid [1151]
process[viewpoint_controller-51]: started with pid [1168]
process[safety_velocity_limiter-52]: started with pid [1190]
process[velocity_switcher-53]: started with pid [1213]
process[marker_based_localizer-54]: started with pid [1233]
process[marker-55]: started with pid [1256]
process[placement_area_detector-56]: started with pid [1266]
SpawnModel script started
process[tabletop_segmentator_node-57]: started with pid [1270]
process[restoredb-58]: started with pid [1295]
process[env_db-59]: started with pid [1305]
process[action_manager-60]: started with pid [1310]
[restoredb-58] process has finished cleanly
log file: /home/kubota-lab/.ros/log/28702dbc-c4e0-11ea-999a-5076afa87c35/restoredb-58.log
process[action_planner-61]: started with pid [1343]
process[task_manager-62]: started with pid [1362]
No module named PySide.QtCore
process[action_take-63]: started with pid [1371]
process[action_give-64]: started with pid [1373]
process[action_pick_up-65]: started with pid [1377]
process[action_put-66]: started with pid [1384]
process[hsrb/interactive_teleop-67]: started with pid [1401]
process[hsrb/pseudo_velocity_controller-68]: started with pid [1425]
process[hsrb/interactive_teleop_joy-69]: started with pid [1436]
process[hsrb/pseudo_endeffector_controller-70]: started with pid [1456]
process[hsrb/joy_node-71]: started with pid [1485]
process[hsrb_web_server_node-72]: started with pid [1532]
process[rosbridge_websocket-73]: started with pid [1546]
process[rosapi-74]: started with pid [1561]
process[tf2_web_republisher-75]: started with pid [1566]
process[interactive_marker_proxy-76]: started with pid [1571]
process[remote_exec_manager-77]: started with pid [1577]
process[task_carry-78]: started with pid [1579]
process[heartbeat_watcher-79]: started with pid [1583]
process[web_video_server-80]: started with pid [1592]
process[web_video_server2-81]: started with pid [1602]
process[depthcloud_encoder_node-82]: started with pid [1615]
Traceback (most recent call last):
File "/opt/ros/kinetic/lib/hsrb_web_server/hsrb_web_server_node", line 40, in
^
SyntaxError: I/O error while reading
Warning [parser_urdf.cc:1238] multiple inconsistent Model
call to the Keras 2 API: Model(outputs=Elemwise{a..., inputs=/input_1)
self.live_models[task] = ks.models.Model(input=inp, output=task_specific_layers(shared_live_out))
/home/kubota-lab/gym-gazebo-hsr/sacq-hsr/sacx/tasked_dual_neural_net.py:40: UserWarning: Update your Model
call to the Keras 2 API: Model(outputs=Elemwise{a..., inputs=/input_1)
self.fixed_models[task] = ks.models.Model(input=inp, output=task_specific_layers(shared_fixed_out))
/home/kubota-lab/gym-gazebo-hsr/sacq-hsr/sacx/tasked_dual_neural_net.py:39: UserWarning: Update your Model
call to the Keras 2 API: Model(outputs=Softmax.0, inputs=/input_2)
self.live_models[task] = ks.models.Model(input=inp, output=task_specific_layers(shared_live_out))
/home/kubota-lab/gym-gazebo-hsr/sacq-hsr/sacx/tasked_dual_neural_net.py:40: UserWarning: Update your Model
call to the Keras 2 API: Model(outputs=Softmax.0, inputs=/input_2)
self.fixed_models[task] = ks.models.Model(input=inp, output=task_specific_layers(shared_fixed_out))
Traceback (most recent call last):
File "gazebohsr_sacx.py", line 40, in
@ascane can you help me to solve this problem?
Hi @ascane i got this following error : (hsrgym) kubota-lab@kubotalab-P960EF:~/gym-gazebo-hsr/sacq-hsr/sacx/experiments$ python gazebohsr_sacx.py Traceback (most recent call last): File "gazebohsr_sacx.py", line 1, in
import core
ImportError: No module named core
Can you help me to solve my problem?