-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to run demo.sh #24
Comments
Hmm it looks like there are a couple potential errors... Tensorflow failed to load based on the error Also, looks like the |
@bmild I managed to get rid of the import error, and it was happening due to me using Nvidia CUDA 10.1, whereas Tensorflow supports only CUDA 10.0. I did download the data using the download.sh script, but I still don't have this poses_bounds.py stored in that directory... Any pointers as to why it didn't work? |
That's strange. Could be a permissions issue. Maybe try just running the steps in the script one by one on the command line:
|
I tried the above as well, still there's no poses_bounds.py after running it... I have no clue why this is happening, but I have a feeling that the program is getting stuck somewhere before it has to generate the poses_bounds.py file. How do I know where the problem is? I've literally tried everything, and yet there's some problem or the other... |
Sorry I got confused, the poses_bounds.npy file is not included in the download -- it should be generated by the demo script code.
which looks like COLMAP segfaulted and died. This may be related to this COLMAP issue? colmap/colmap#40 |
@bmild I've now downloaded and compiled colmap from source, and all the above errors have now disappeared... Thanks so much for that colmap link, and all the support! However, I've now got a new error, where it looks like the program is trying to allocate 446341359079 MB of data, due to which I'm getting a bad_alloc error... Any hints for that? Or does this only work on a supercomputer with that much RAM? Here's the output of
(I understand that this probably warrants a new issue be created) |
Ah that's just bad error checking on my part, looks like |
That didn't work :/ I deleted that directory, and now the
|
Also, I tried running the imgs2mpis.py script alone, using the same arguments as in the demo.sh script... ( It gets killed for some reason after calling the gen_mpis() function... Here's the error log:
I believe that because of this error, my mpis_360 directory is remaining empty (as I have checked), due to which the cuda renderer is making weird huge numbers for the mpis... |
Hmm that is strange, no useful error message. I just realized you are using a smaller GPU, how much GPU memory is there? You may have to mess with the patched settings (here) since the MPIs not be fitting completely in memory. |
@bmild I have only 2GB of graphics memory. I changed the two lines that you mentioned in the linked issue, but I'm still getting the exact same error message... Is it possible that this program won't run on my setup for some reason? And has such an error ever been encountered before even on higher end systems? |
Any hints on how to solve the "out-of-memory" error? I'm struggling with the same problem. |
I've installed all the prerequisites, and the program should run, but it's not... I'm getting an error at line 70 of the colmap_wrapper.py file, which is trying to call the subprocess and there's some problem...
(Here's my setup: Nvidia mx250, Ubuntu 19.10, tensorflow 1.13)
(Is it a known issue with Ubuntu 19.10 or hasn't been tested yet?)
Here's my entire traceback:
output.txt
errors.txt:
Please tell me what I need to do to get it to run
The text was updated successfully, but these errors were encountered: