Framebuffer with requested attributes not available. Using available framebuffer. You may see visual artifacts.OpenCV Error: Assertion failed (size.width>0 && size.height>0) in imshow, #72
I had installed evert paakages.When I first run this code ,
./Examples/RGB-D/rgbd_tum Vocabulary/ORBvoc.txt Examples/RGB-D/TUM3.yaml data/rgbd_dataset_freiburg3_walking_xyz Examples/RGB-D/associations/fr3_walking_xyz.txt maskpath inpaintedFrame
it has occured,but I think this issue occured because of the version of opencv.So I try to install the version of opencv2.4.11.But it doesn't solve this issue effectively.
The complete run results are shown below:
`nImages: 827
Loading Mask R-CNN. This could take a while...
Importing Mask R-CNN Settings...
Using TensorFlow backend.
Initializing Mask RCNN network...
./src/python
2021-09-16 11:39:54.821588: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
2021-09-16 11:39:54.821636: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
2021-09-16 11:39:54.821646: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
2021-09-16 11:39:54.821652: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
2021-09-16 11:39:54.821656: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.
Initialated Mask RCNN network...
Creating net instance...
Loading net parameters...
Mask R-CNN loaded!
DynaSLAM Copyright (C) 2018 Berta Bescos, University of Zaragoza.
Input sensor was set to: RGB-D
Loading ORB Vocabulary. This could take a while...
Vocabulary loaded!
Camera Parameters:
fx: 535.4
fy: 539.2
cx: 320.1
cy: 247.6
k1: 0
k2: 0
p1: 0
p2: 0
fps: 30
color order: RGB (ignored if grayscale)
ORB Extractor Parameters:
Number of Features: 3000
Scale Levels: 8
Scale Factor: 1.2
Initial Fast Threshold: 20
Minimum Fast Threshold: 7
Depth Threshold (Close/Far Points): 2.98842
Start processing sequence ...
Images in the sequence: 827
Framebuffer with requested attributes not available. Using available framebuffer. You may see visual artifacts.OpenCV Error: Assertion failed (size.width>0 && size.height>0) in imshow, file /home/wz/Downloads/opencv-2.4.11/modules/highgui/src/window.cpp, line 261
terminate called after throwing an instance of 'cv::Exception'
what(): /home/wz/Downloads/opencv-2.4.11/modules/highgui/src/window.cpp:261: error: (-215) size.width>0 && size.height>0 in function imshow
I had installed evert paakages.When I first run this code ,
./Examples/RGB-D/rgbd_tum Vocabulary/ORBvoc.txt Examples/RGB-D/TUM3.yaml data/rgbd_dataset_freiburg3_walking_xyz Examples/RGB-D/associations/fr3_walking_xyz.txt maskpath inpaintedFrame
it has occured,but I think this issue occured because of the version of opencv.So I try to install the version of opencv2.4.11.But it doesn't solve this issue effectively.
The complete run results are shown below: `nImages: 827 Loading Mask R-CNN. This could take a while... Importing Mask R-CNN Settings... Using TensorFlow backend. Initializing Mask RCNN network... ./src/python 2021-09-16 11:39:54.821588: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations. 2021-09-16 11:39:54.821636: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations. 2021-09-16 11:39:54.821646: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations. 2021-09-16 11:39:54.821652: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations. 2021-09-16 11:39:54.821656: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations. Initialated Mask RCNN network... Creating net instance... Loading net parameters... Mask R-CNN loaded!
DynaSLAM Copyright (C) 2018 Berta Bescos, University of Zaragoza.
Input sensor was set to: RGB-D
Loading ORB Vocabulary. This could take a while... Vocabulary loaded!
Camera Parameters:
ORB Extractor Parameters:
Depth Threshold (Close/Far Points): 2.98842
Start processing sequence ... Images in the sequence: 827
Framebuffer with requested attributes not available. Using available framebuffer. You may see visual artifacts.OpenCV Error: Assertion failed (size.width>0 && size.height>0) in imshow, file /home/wz/Downloads/opencv-2.4.11/modules/highgui/src/window.cpp, line 261 terminate called after throwing an instance of 'cv::Exception' what(): /home/wz/Downloads/opencv-2.4.11/modules/highgui/src/window.cpp:261: error: (-215) size.width>0 && size.height>0 in function imshow
已放弃 (核心已转储) `