Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Process failed in Converting RAW frames to RGB #234

Open
Yexin527 opened this issue Aug 29, 2017 · 1 comment
Open

Process failed in Converting RAW frames to RGB #234

Yexin527 opened this issue Aug 29, 2017 · 1 comment

Comments

@Yexin527
Copy link

everyone, I've been playing with the latest version and got some errors that I don't know how to fix. Step 1 seems finished nut not sure of its correctness. It is Step 3 where I stuck and got errs (why there is no step 2 in the latest version?) The data is downloaded from https://github.com/facebook/Surround360 the both 0.bin and 1.bin. And I put cameranames.txt and config files in the right folders.

Please see details below:
During Step 1, the images was processed, but I got this "could not create logging file" message:

Checking required files...
** UNPACK ** [Step 1 of 2]

Could not create logging file: No such file or directory
COULD NOT CREATE A LOGGINGFILE 20170829-182815.2394!I0829 18:28:15.437861 2394 UnpackImageBundle.cpp:185] Reading binary files...
I0829 18:28:21.535872 2394 UnpackImageBundle.cpp:272] Percent done 1%


Yet I finised step1. After step 1 done, the images in the raw folder look bit of funny. I'm not sure whether they've been unpacked correctly. It is like each image is covered by grid, and the images are gray. Is this correct?

Then it started to step3, (I deleted the accelerate flag in "batch_process_isp.py"), and I got err like this:

** ISP ** [Step 2 of 2]

----------- [ISP] processing frame: 000000
I0829 18:59:17.037631 3512 Raw2Rgb.cpp:416] 16 bit raw
I0829 18:59:18.356058 3512 Raw2Rgb.cpp:372] Runtime = 1121.07ms
I0829 18:59:19.338742 3514 Raw2Rgb.cpp:416] 16 bit raw
I0829 18:59:20.481767 3514 Raw2Rgb.cpp:372] Runtime = 1064.12ms
I0829 18:59:21.260208 3516 Raw2Rgb.cpp:416] 16 bit raw
I0829 18:59:22.420038 3516 Raw2Rgb.cpp:372] Runtime = 1060.63ms
I0829 18:59:23.475752 3518 Raw2Rgb.cpp:416] 16 bit raw
I0829 18:59:24.566304 3518 Raw2Rgb.cpp:372] Runtime = 1005.14ms
I0829 18:59:25.446046 3520 Raw2Rgb.cpp:416] 16 bit raw
I0829 18:59:26.573683 3520 Raw2Rgb.cpp:372] Runtime = 1013.01ms
I0829 18:59:27.359565 3522 Raw2Rgb.cpp:416] 16 bit raw
I0829 18:59:28.459918 3522 Raw2Rgb.cpp:372] Runtime = 990.474ms
I0829 18:59:29.263943 3524 Raw2Rgb.cpp:416] 16 bit raw
I0829 18:59:30.348664 3524 Raw2Rgb.cpp:372] Runtime = 975.749ms
I0829 18:59:31.111120 3526 Raw2Rgb.cpp:416] 16 bit raw
I0829 18:59:32.171758 3526 Raw2Rgb.cpp:372] Runtime = 981.518ms
I0829 18:59:33.390270 3528 Raw2Rgb.cpp:416] 16 bit raw
I0829 18:59:34.491963 3528 Raw2Rgb.cpp:372] Runtime = 998.043ms
I0829 18:59:35.247200 3530 Raw2Rgb.cpp:416] 16 bit raw
I0829 18:59:36.322123 3530 Raw2Rgb.cpp:372] Runtime = 981.233ms
I0829 18:59:37.165640 3532 Raw2Rgb.cpp:416] 16 bit raw
I0829 18:59:38.399072 3532 Raw2Rgb.cpp:372] Runtime = 1136.05ms
E0829 18:59:38.983712 3534 SystemUtil.cpp:50] Terminated with exception: json mValueType==ObjectVal required
E0829 18:59:38.989365 3534 SystemUtil.cpp:37] /home/yexin/Surround360-master/surround360_render/bin/Raw2Rgb(_ZN11surround3604util15printStacktraceEv+0x31) [0x423231]
E0829 18:59:38.989580 3534 SystemUtil.cpp:37] /home/yexin/Surround360-master/surround360_render/bin/Raw2Rgb(_ZN11surround3604util16terminateHandlerEv+0x12c) [0x42352c]
E0829 18:59:38.989692 3534 SystemUtil.cpp:37] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d6b6) [0x7f99ada006b6]
E0829 18:59:38.989799 3534 SystemUtil.cpp:37] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d701) [0x7f99ada00701]
E0829 18:59:38.989902 3534 SystemUtil.cpp:37] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d919) [0x7f99ada00919]
E0829 18:59:38.990005 3534 SystemUtil.cpp:37] /home/yexin/Surround360-master/surround360_render/bin/Raw2Rgb(_ZNK4json5ValuecvNS_6ObjectEEv+0xe6) [0x431356]
E0829 18:59:38.991905 3534 SystemUtil.cpp:37] /home/yexin/Surround360-master/surround360_render/bin/Raw2Rgb(main+0x179) [0x40dd99]
E0829 18:59:38.992565 3534 SystemUtil.cpp:37] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f99ace8d830]
E0829 18:59:38.992714 3534 SystemUtil.cpp:37] /home/yexin/Surround360-master/surround360_render/bin/Raw2Rgb(_start+0x29) [0x40f209]
Aborted (core dumped)
I0829 18:59:40.621767 3537 Raw2Rgb.cpp:416] 16 bit raw
I0829 18:59:41.689575 3537 Raw2Rgb.cpp:372] Runtime = 978.741ms
I0829 18:59:42.435817 3539 Raw2Rgb.cpp:416] 16 bit raw
I0829 18:59:43.585103 3539 Raw2Rgb.cpp:372] Runtime = 1045.36ms
I0829 18:59:47.088747 3541 Raw2Rgb.cpp:416] 16 bit raw
I0829 18:59:48.135234 3541 Raw2Rgb.cpp:372] Runtime = 963.482ms
I0829 18:59:48.938362 3543 Raw2Rgb.cpp:416] 16 bit raw
I0829 18:59:50.151958 3543 Raw2Rgb.cpp:372] Runtime = 1110.61ms
I0829 18:59:50.816257 3545 Raw2Rgb.cpp:416] 16 bit raw
I0829 18:59:51.899596 3545 Raw2Rgb.cpp:372] Runtime = 984.043ms
Process failed

Anybody know what the problem is? Thank you.
And BTW, there really should be a up-to-date mannual, now the data is not fit for the current gui, people are easily get confused. And the 2frames sample data is not suitable for this version either, the ways of arranging the files are very different. Hope there will be proper guide soon.

@aayushARM
Copy link

@Yexin527 were you able to solve this error later? I am stuck in the same situation. Any help or a possible way to solve the problem will be of great help!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants