You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem occurred when run ./a.out. Specifically, it shows as following. As shown in the Issue#52, this may happens because the images are an unexpected data type. It may be due to a switch between 16 and 8 bit inputs. But I don't know how to solve that problem?
I use Opencv2.4.13, CUDA 8.0, Ubuntu 14.04 LTS and GTX 740M.
I assume you are running the default branch of OpenDTAM: 2.4.9_experimental.
This branch was tested with opencv-2.4.9, so using this version is recommended instead of opencv-2.4.13.
Also it would be helpful if you provided a full stack trace. The output listing doesn't mention which OpenDTAM function triggered the opencv exception.
If you have trouble using cuda-gdb, try with plain gdb first.
The problem occurred when run ./a.out. Specifically, it shows as following. As shown in the Issue#52, this may happens because the images are an unexpected data type. It may be due to a switch between 16 and 8 bit inputs. But I don't know how to solve that problem?
I use Opencv2.4.13, CUDA 8.0, Ubuntu 14.04 LTS and GTX 740M.
hw@hw:~/OpenDTAM/Cpp/Build$ ./a.out
Thread Start: 0x1d52250 Thread Requested:
Graphics : 140355115820800:0x1d52250
Loading
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_000.txt
Reading: scene_000.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_001.txt
Reading: scene_001.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_002.txt
Reading: scene_002.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_003.txt
Reading: scene_003.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_004.txt
Reading: scene_004.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_005.txt
Reading: scene_005.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_006.txt
Reading: scene_006.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_007.txt
Reading: scene_007.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_008.txt
Reading: scene_008.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_009.txt
Reading: scene_009.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_010.txt
Reading: scene_010.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_011.txt
Reading: scene_011.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_012.txt
Reading: scene_012.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_013.txt
Reading: scene_013.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_014.txt
Reading: scene_014.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_015.txt
Reading: scene_015.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_016.txt
Reading: scene_016.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_017.txt
Reading: scene_017.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_018.txt
Reading: scene_018.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_019.txt
Reading: scene_019.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_020.txt
Reading: scene_020.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_021.txt
Reading: scene_021.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_022.txt
Reading: scene_022.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_023.txt
Reading: scene_023.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_024.txt
Reading: scene_024.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_025.txt
Reading: scene_025.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_026.txt
Reading: scene_026.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_027.txt
Reading: scene_027.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_028.txt
Reading: scene_028.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_029.txt
Reading: scene_029.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_030.txt
Reading: scene_030.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_031.txt
Reading: scene_031.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_032.txt
Reading: scene_032.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_033.txt
Reading: scene_033.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_034.txt
Reading: scene_034.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_035.txt
Reading: scene_035.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_036.txt
Reading: scene_036.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_037.txt
Reading: scene_037.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_038.txt
Reading: scene_038.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_039.txt
Reading: scene_039.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_040.txt
Reading: scene_040.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_041.txt
Reading: scene_041.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_042.txt
Reading: scene_042.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_043.txt
Reading: scene_043.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_044.txt
Reading: scene_044.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_045.txt
Reading: scene_045.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_046.txt
Reading: scene_046.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_047.txt
Reading: scene_047.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_048.txt
Reading: scene_048.png
text_file_name = /home/hw/OpenDTAM/Trajectory_30_seconds/scene_049.txt
Reading: scene_049.png
using: 1
using: 2
using: 3
using: 4
using: 5
using: 6
using: 7
using: 8
using: 9
using: 10
using: 11
using: 12
using: 13
using: 14
using: 15
using: 16
using: 17
using: 18
using: 19
using: 20
using: 21
using: 22
using: 23
using: 24
using: 25
using: 26
using: 27
using: 28
using: 29
using: 30
using: 31
using: 32
using: 33
using: 34
using: 35
using: 36
using: 37
using: 38
using: 39
using: 40
using: 41
using: 42
using: 43
using: 44
using: 45
using: 46
using: 47
using: 48
using: 49
using: 50
OpenCV Error: Assertion failed (src1.type() == src2.type()) in scaleAdd, file /home/hw/opencv-2.4.13/modules/core/src/matmul.cpp, line 2079
terminate called after throwing an instance of 'cv::Exception'
what(): /home/hw/opencv-2.4.13/modules/core/src/matmul.cpp:2079: error: (-215) src1.type() == src2.type() in function scaleAdd
Aborted (core dumped)
The text was updated successfully, but these errors were encountered: