Hello, I installed tensorflow and your various dependencies in virtualenv, but I didn't use GPU, because I want to deploy the program on NUC. Now I have this problem, I hope you can help me solve it
×××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××
roslaunch cerebro mynteye_vinsfusion.launch
... logging to /home/zc/.ros/log/2b2b8fd4-26fb-11ea-bfcc-54271ed95d7d/roslaunch-zc-N551JM-26672.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.
auto-starting new master
process[master]: started with pid [26682]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to 2b2b8fd4-26fb-11ea-bfcc-54271ed95d7d
process[rosout-1]: started with pid [26695]
started core service [/rosout]
process[rosbag-2]: started with pid [26702]
process[vins_estimator-3]: started with pid [26724]
process[cerebro_node-4]: started with pid [26725]
process[my_desc_server-5]: started with pid [26726]
process[keyframe_pose_graph_slam_node-6]: started with pid [26730]
[ WARN] [1577267080.347463776]: [cerebro_node] loadStateFromDisk cmdline parameter was not found, so I will not loadStateFromDisk()
[ WARN] [1577267080.348508341]: [cerebro_node] saveStateToDisk cmdline parameter was not found, so I will not saveStateToDisk()
[ WARN] [1577267080.349461016]: Config File Name : /home/zc/catkin_zc/src/cerebro/config/vinsfusion/mynteye/mynteye_stereo_imu_config.yaml
[ INFO] [1577267080.350065193]: cam0_calib : camera_left.yaml
cam0_fullpath=/home/zc/catkin_zc/src/cerebro/config/vinsfusion/mynteye//camera_left.yaml
Load file : /home/zc/catkin_zc/src/cerebro/config/vinsfusion/mynteye//camera_left.yaml
Constructor for ImageDataManager
--- Abstract CameraParams(cam_id=0) from DataManager ---
Camera Parameters:
model_type KANNALA_BRANDT
camera_name camera_left
image_width 752
image_height 480
Projection Parameters
k2 -0.0193721
k3 -0.00981409
k4 0.0052091
k5 -0.00253848
mu 367.798
mv 367.357
u0 371.509
v0 239.944
--- END
[ INFO] [1577267080.350685089]: Subscribe to camera_pose_topic: /vins_estimator/camera_pose
[ INFO] [1577267080.357411833]: Subscribe to raw_image_topic: /mynteye/left/image_raw
[ INFO] [1577267080.365296311]: Subscribe to image_topic_1: /mynteye/right/image_raw
Subscribe to depth_image_topic: /camera/depth/image_rect_raw
[ INFO] [1577267080.428554163]: Visualization Publisher framedata_pub_topic: /cerebro_node/viz//framedata
[Cerebro::descrip_Ndotdescrip_0_N] Start thread
[ INFO] [1577267080.429772833]: Visualization Publisher imagepair_pub_topic: /cerebro_node/viz//imagepaire
[Cerebro::descriptor_computer_thread]Attempt connecting to ros-service for 71 sec (will give up after that)
[ INFO] [1577267080.451396199]: waitForService: Service [/whole_image_descriptor_compute] has not been advertised, waiting...
Using TensorFlow backend.
2019-12-25 17:44:41.604172: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
Traceback (most recent call last):
File "/home/zc/catkin_zc/src/cerebro/scripts/whole_image_desc_compute_server.py", line 734, in
gpu_netvlad = HDF5ModelImageDescriptor( kerasmodel_file=kerasmodel_file, im_rows=fs_image_height, im_cols=fs_image_width, im_chnls=fs_image_chnls )
File "/home/zc/catkin_zc/src/cerebro/scripts/whole_image_desc_compute_server.py", line 533, in init
assert os.path.isdir( LOG_DIR ), "The LOG_DIR doesnot exist, or there is a permission issue. LOG_DIR="+LOG_DIR
AssertionError: The LOG_DIR doesnot exist, or there is a permission issue. LOG_DIR=/models.keras/June2019/centeredinput-m1to1-240x320x1mobilenetv2-block_9_addK16__allpairloss
[my_desc_server-5] process has died [pid 26726, exit code 1, cmd /home/zc/catkin_zc/src/cerebro/scripts/whole_image_desc_compute_server.py name:=my_desc_server log:=/home/zc/.ros/log/2b2b8fd4-26fb-11ea-bfcc-54271ed95d7d/my_desc_server-5.log].
log file: /home/zc/.ros/log/2b2b8fd4-26fb-11ea-bfcc-54271ed95d7d/my_desc_server-5*.log
[clean_up_useless_images_thread] no nodes
[clean_up_useless_images_thread] no nodes
[ImageDataManager::rmImage] FATAL-ERROR you requested to remove ns=depth_image, t=1547461553.249318600; However it was not found on the map. FATAL ERRR
[ImageDataManager::rmImage]No action taken for now.....
[ImageDataManager::rmImage] FATAL-ERROR you requested to remove ns=depth_image, t=1547461553.282628536; However it was not found on the map. FATAL ERRR
Hello, I installed tensorflow and your various dependencies in virtualenv, but I didn't use GPU, because I want to deploy the program on NUC. Now I have this problem, I hope you can help me solve it ××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××× roslaunch cerebro mynteye_vinsfusion.launch ... logging to /home/zc/.ros/log/2b2b8fd4-26fb-11ea-bfcc-54271ed95d7d/roslaunch-zc-N551JM-26672.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://zc-N551JM:40151/
SUMMARY
PARAMETERS
NODES / cerebro_node (cerebro/cerebro_node) keyframe_pose_graph_slam_node (solve_keyframe_pose_graph/keyframe_pose_graph_slam) my_desc_server (cerebro/whole_image_desc_compute_server.py) rosbag (rosbag/play) vins_estimator (vins/vins_node)
auto-starting new master process[master]: started with pid [26682] ROS_MASTER_URI=http://localhost:11311
setting /run_id to 2b2b8fd4-26fb-11ea-bfcc-54271ed95d7d process[rosout-1]: started with pid [26695] started core service [/rosout] process[rosbag-2]: started with pid [26702] process[vins_estimator-3]: started with pid [26724] process[cerebro_node-4]: started with pid [26725] process[my_desc_server-5]: started with pid [26726] process[keyframe_pose_graph_slam_node-6]: started with pid [26730] [ WARN] [1577267080.347463776]: [cerebro_node] loadStateFromDisk cmdline parameter was not found, so I will not loadStateFromDisk() [ WARN] [1577267080.348508341]: [cerebro_node] saveStateToDisk cmdline parameter was not found, so I will not saveStateToDisk() [ WARN] [1577267080.349461016]: Config File Name : /home/zc/catkin_zc/src/cerebro/config/vinsfusion/mynteye/mynteye_stereo_imu_config.yaml [ INFO] [1577267080.350065193]: cam0_calib : camera_left.yaml cam0_fullpath=/home/zc/catkin_zc/src/cerebro/config/vinsfusion/mynteye//camera_left.yaml Load file : /home/zc/catkin_zc/src/cerebro/config/vinsfusion/mynteye//camera_left.yaml Constructor for ImageDataManager --- Abstract CameraParams(cam_id=0) from DataManager --- Camera Parameters: model_type KANNALA_BRANDT camera_name camera_left image_width 752 image_height 480 Projection Parameters k2 -0.0193721 k3 -0.00981409 k4 0.0052091 k5 -0.00253848 mu 367.798 mv 367.357 u0 371.509 v0 239.944
--- END [ INFO] [1577267080.350685089]: Subscribe to camera_pose_topic: /vins_estimator/camera_pose [ INFO] [1577267080.357411833]: Subscribe to raw_image_topic: /mynteye/left/image_raw [ INFO] [1577267080.365296311]: Subscribe to image_topic_1: /mynteye/right/image_raw
Subscribe to depth_image_topic: /camera/depth/image_rect_raw
[ INFO] [1577267080.373364599]: cam1_calib : camera_right.yaml camera_yaml_1_fullpath=/home/zc/catkin_zc/src/cerebro/config/vinsfusion/mynteye//camera_right.yaml Load file : /home/zc/catkin_zc/src/cerebro/config/vinsfusion/mynteye//camera_right.yaml --- Abstract CameraParams(cam_id=1) from DataManager --- Camera Parameters: model_type KANNALA_BRANDT camera_name camera_right image_width 752 image_height 480 Projection Parameters k2 -0.0168777 k3 -0.0221253 k4 0.0256298 k5 -0.0133527 mu 367.465 mv 367.031 u0 362.009 v0 249.197
--- END [ INFO] [1577267080.376090713]: in config_file=/home/zc/catkin_zc/src/cerebro/config/vinsfusion/mynteye/mynteye_stereo_imu_config.yaml; extrinsic_1_T_0 : extrinsics.yaml ___extrinsic_1_T_0_fullpath=/home/zc/catkin_zc/src/cerebro/config/vinsfusion/mynteye//extrinsics.yaml opencv yaml reading: open file: /home/zc/catkin_zc/src/cerebro/config/vinsfusion/mynteye//extrinsics.yaml successfully opened file /home/zc/catkin_zc/src/cerebro/config/vinsfusion/mynteye//extrinsics.yaml --values from file-- q_xyzw: -0.000709551 -0.00157756 -0.00127326 0.999998 tr_xyz: -120.07 0.339563 -0.167841
translation divided by 1000 to convert from mm (in file) to meters (as needed) _1_T_0: :YPR(deg)=(-0.146,-0.181,-0.081) :TxTyTz=(-0.120,0.000,-0.000) _1_T_0: 0.999992 0.00254876 -0.0031533 -0.12007 -0.00254428 0.999996 0.00142312 0.000339563 0.00315692 -0.00141508 0.999994 -0.000167841 0 0 0 1 ---DataManager::setCameraRelPose--- setting 1_T_0 :::> :YPR(deg)=(-0.146,-0.181,-0.081) :TxTyTz=(-0.120,0.000,-0.000) ---DONE--- [ INFO] [1577267080.380586313]: Subscribe to extrinsic_cam_imu_topic: /vins_estimator/extrinsic [ INFO] [1577267080.385169447]: Subscribe to ptcld_topic: /vins_estimator/keyframe_point [ImageDataManager::initStashDir] rm -rf /tmp/cerebro_stash/ rm -rf /tmp/cerebro_stash/ [ImageDataManager::initStashDir] mkdir -p /tmp/cerebro_stash/ mkdir -p /tmp/cerebro_stash/ [ImageDataManager::initStashDir] rm -rf /tmp/cerebro_stash/ rm -rf /tmp/cerebro_stash/ [ImageDataManager::initStashDir] mkdir -p /tmp/cerebro_stash/ mkdir -p /tmp/cerebro_stash/ [ INFO] [1577267080.412362429]: [Cerebro::setPublishers] Publish /cerebro/loopedge
[DataManager::clean_up_useless_images_thread] Start thread
Start DataManager::trial_thread
[ INFO] [1577267080.414701124]: main : Publisher pub_topic_test: /feature_tracker/rcvd_flag
END DataManager::trial_thread
[DataManager::data_association_thread] Start thread
[ INFO] [1577267080.415905529]: main : Publisher pub_topic_header: /feature_tracker/rcvd_flag_header
[ INFO] [1577267080.417253983]: Subscribe to kidnap_bool_topic: /feature_tracker/rcvd_flag
[ INFO] [1577267080.422101283]: Subscribe to kidnap_header_topic: /feature_tracker/rcvd_flag_header
[ INFO] [1577267080.426902792]: Visualization Publisher pub_topic_test: /cerebro_node/viz//chatter
[Cerebro::loopcandiate_consumer_thread] Start thread
Start Cerebro::kipnaped_thead
[ INFO] [1577267080.428554163]: Visualization Publisher framedata_pub_topic: /cerebro_node/viz//framedata [Cerebro::descrip_Ndotdescrip_0_N] Start thread [ INFO] [1577267080.429772833]: Visualization Publisher imagepair_pub_topic: /cerebro_node/viz//imagepaire [Cerebro::descriptor_computer_thread]Attempt connecting to ros-service for 71 sec (will give up after that) [ INFO] [1577267080.451396199]: waitForService: Service [/whole_image_descriptor_compute] has not been advertised, waiting... Using TensorFlow backend. 2019-12-25 17:44:41.604172: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA Traceback (most recent call last): File "/home/zc/catkin_zc/src/cerebro/scripts/whole_image_desc_compute_server.py", line 734, in
gpu_netvlad = HDF5ModelImageDescriptor( kerasmodel_file=kerasmodel_file, im_rows=fs_image_height, im_cols=fs_image_width, im_chnls=fs_image_chnls )
File "/home/zc/catkin_zc/src/cerebro/scripts/whole_image_desc_compute_server.py", line 533, in init
assert os.path.isdir( LOG_DIR ), "The LOG_DIR doesnot exist, or there is a permission issue. LOG_DIR="+LOG_DIR
AssertionError: The LOG_DIR doesnot exist, or there is a permission issue. LOG_DIR=/models.keras/June2019/centeredinput-m1to1-240x320x1mobilenetv2-block_9_addK16__allpairloss
[my_desc_server-5] process has died [pid 26726, exit code 1, cmd /home/zc/catkin_zc/src/cerebro/scripts/whole_image_desc_compute_server.py name:=my_desc_server log:=/home/zc/.ros/log/2b2b8fd4-26fb-11ea-bfcc-54271ed95d7d/my_desc_server-5.log].
log file: /home/zc/.ros/log/2b2b8fd4-26fb-11ea-bfcc-54271ed95d7d/my_desc_server-5*.log
[clean_up_useless_images_thread] no nodes
[clean_up_useless_images_thread] no nodes
[ImageDataManager::rmImage] FATAL-ERROR you requested to remove ns=depth_image, t=1547461553.249318600; However it was not found on the map. FATAL ERRR
[ImageDataManager::rmImage]No action taken for now.....
[ImageDataManager::rmImage] FATAL-ERROR you requested to remove ns=depth_image, t=1547461553.282628536; However it was not found on the map. FATAL ERRR