-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Windows7: StructureFromMotion is stuck at the end #183
Comments
System specs: Win 7 64bits - Intel HD graphics Same issue as above |
Same here. I don't think it is using GPU in my case (Quadro FX 4000, old). It seems to run for few seconds, then stop. Then I try starting again, it moves, and stop again at StuctureFromMotion. |
can you post the log file of the step that seems to fail? [1/5] CameraInit
Can you paste the content of the logFile (e.g. |
As I am not the original poster I won't fill up this with my logs but if it helps as above its on the StructureFromMotion it just hangs in the orange state - the log for this is at https://pastebin.com/0szMF1Zm (p.s. drag and dropping the sfm.abc created into the 3d viewer does show sfm with cameras etc but stopping and restarting crashed as with the original poster.) |
OK. Here are the logs : Program called with the following parameters:
[17:54:33.227253][info] Extracting sift features from view 'C:/Users/ffrima/Downloads/doll/doll/IMG_0994.JPG' [cpu] I stop meshroom, then restart with right click / compute on texturing node
Loading features [17:56:26.602738][info] Fuse matches into tracks: [17:56:26.603738][info] AutomaticInitialPairChoice, test I: 24007588, J: 1142124323, nbCommonTracks: 319 4.19e-05 | 2978 [17:56:27.755804][info] # tracks: 858 2 | 575 Compute scene structure color [17:56:28.463845][info] Structure from motion took (s): 1.873000 |
thanks @xymox12 . The sfm part seems to be ok and working well till the end (and indeed u can see the abc). It could be something from Meshroom but I am not much an expert of the meshroom part. We need @yann-lty . So do you also have the hang at the beginning during the feature extraction? |
it seems related to #145 but it was supposed to be fixed... |
@Rimasson |
@simogasp When incrementalSfm crash, model and cameras appear in the 3d view, and the node turn red |
@simogasp thanks for pointing that out (a bit of a doh! moment for me)- you are right, my computer at work doesn't have CUDA. Luckily my laptop does so I moved across to my laptop and it ran through my 62 test images to completion with no problem at all (it took a long time as my GPU is rubbish.) So my report of an issue was of my own making and is resolved. Thanks for the help - got a nice result from my test files https://skfb.ly/6ANES |
I'm seeing the same problem with Win10 + Meshroom 2018.1.0 download. Trying to compute SfM causes a crash. :( |
a crash or just stuck on orange/red status? |
@simogasp Having just tried it again, it must have been something wrong between the keyboard and chair. Please disregard my previous comment (and thank you all for this awesome project!). |
I have exactly the same problems as mentioned earlier by @Rimasson . In my case, FeatureExtraction finishes (I can see it in the log), but the node stays Orange. When that happens, all CPU threads stop working, except 1 thread, which keeps running at ~50%. If I press "stop", then "start" again, the node turns green instantly. ImageMatching and FeatureMatching complete successfully. StructureFromMotion also stops at the same moment as Rimasson, after "# landmarks" in the log. If I "stop", then "start" again, I get an APPCRASH from "aliceVision_incrementalSfM.exe":
My computer specs are: Win 7 SP1, i7 8700K, Geforce GTX 1080, drivers 398.82. I also tested with other computers in the company, but the results are the same... [edit] I used Meshroom-2018.1.0-win64.zip which was released a few days ago. Anyway, thank you all for your hard work, this software looks very promising! Very good work on the UI. |
Same here it stoped working at StructureFromMotion
Status:
|
It ends correctly but has failed to make the reconstruction:
If you think that your dataset should be good enough to make a reconstruction, please send it to us so we can analyse if there is a problem or if your images are too challenging. |
@fabiencastan I've sent you an email with the images I used :) |
@richard-bmc I can confirm the Behavior reportet by you. I can step through the nodes by manual editing every status file. In the end it can be called a workaround but renders the whole workflow pretty useless. |
@oakdesign My colleague also found that this problem disappears on Windows 10. Perhaps you can try Meshroom on Windows 10 or Linux. |
@richard-bmc I' m currently stuck on that Win7 machine as it's the only with a Cuda GPU. As I only have 4 projects to get done I neither have to time nor willing to dig deeper into the issue, even so I might as a profesional developer.To get things done will go with a 3 Month RealityCapture suppscription. I have done one of the projects with the trial in 2 hours. Meshroom with the descriped bug is no areaday running 2 days and only half way through |
I was able to use this Win 7 work around all the way through to the DepthMap node, but at this point my DepthMap has 33 status files... I have to watch the GPU/CPU until they go idle, check the log to make sure it completed, kill the process, edit the status file, and press start... 33 times.. I gave up after 8 steps since it is too tedious to be functional on Windows 7 currently. |
That's definitely too horrible to do that manually!! |
Is there anything we can do to get this fixed? Maybe provide some log or dump file? |
Yes, dump file would be very useful. As a first simple test, it may be interesting to try to run the May also be interesting to check the dll used by |
Setting up a own build environment will take me some time, so I'll try out the other things before..
|
@fabiencastan I'll try building AliceVision in debug mode on Windows 7. But I was a C/C++ guy until 5 years ago. Now I'm a Python guy. Maybe I'll need some help later. |
Seems to be related to an OpenImageIO bug on Windows 7. See #216 (comment). |
Yep, that's the bug. The process completes but doesn't terminate, so the reconstruction cant progress. You can look in the above comments for the work around editing status files. |
This is a shame, I look forward to a fix for this bug but in the meantime Agisoft I guess! It hasnt quite completed for me though, the colour is never computed, does anyone else have this issue? |
Did anyone try to attach a debugger to the stuck process and dump stack traces of all threads? |
I would also love to see this Win7 bug fixed. I was able to work through the entire node tree using the above described technique of editing the status file then pressing Start again, but when I got to the end, I just couldn't get it to export the texture or mesh. Also, in those status files, my resultCode is never 15, it's usually 255. My specs: |
hello all, |
Could somebody pleeeeease clean this up.
|
There are a few threads on this, here is the update as far as I can find: Hopefully the recompile works, I am stuck with win7 for now too. |
Thank you for the quick response, but there ARE reports in this issue report for WIN10 kelteseth commented on 17 Aug • Since I am just a layman, I might be totally wrong, but camera calibration failure seems to me like a input data related issue, right? I used the reference material from Agisoft (the doll data set). I don't understand how this perfectly works on some computers with default meshroom settings and doesn't on others (mine). So I guess my issue is not related to the imput data, right? I do see a common theme with JazzCousins. We both seem to run OS from C:/ and have data segrated on D:/. |
Thats an interesting observation TaironUsaro, I wonder if that's related. I dont have space to fit meshroom on my C:/ but perhaps making sure all its inputs and outputs are going to the same drive its on might help. Say if you come across anything new! |
Quick Update: since clean program/data segration is way more easier & cleaner with Win7 to achieve than it is with Win10 I would guess this explains why the bug mostly appears with Win7. I linked all my data folders manually to folders on D:/ because I was used to have this segration under Win7 in times when SSD disk space was precious and you didn't want to flood it with rarely read data or not time critical data that's often rewritten. For the test, I used a folder on the C:/ drive and suddenly everything was fine |
I am having this issue. Win7 gtx1050. I have everything on my C: drive. Hopefully the recompile fixes this. pls support windows 7 |
@TaironUsaro |
nope that seems clean, BUT it is a Junction. So the path Explorer shows me is is that the issue or is the underscore the issue? |
I built the modified version of OpenImageIO by yann-lty #(https://github.com/yann-lty/oiio/tree/fix-win7-dll-deadlock), and link it with AliceVision. And now Meshroom can finish its job in Windows 7. Thank you! @yann-lty |
Is there a build of this somewhere that I could download and test on Win7 as well? I don't know how to make my own builds. |
Or can you explain how you got it to work on Win7 in more detail please? :) |
The fix has been merged in oiio: AcademySoftwareFoundation/OpenImageIO#2038. |
Is there any info on when the new release will be coming up? |
Is there any info on when the new release will be coming up? -x2 |
The release page has been updated with a new download option Meshroom-2018.1.0-win7-64.zip which contains the updated version of OpenImageIO and fixes this issue. Can anyone who was having this problem confirm it now works? @Rimasson @Stwend @chenxilin951207 @hyperfx |
I have just confirmed that this new win7 version works. |
Thanks for the feedback! |
Still getting stuck for me on the DepthMap node. Any ideas, or how can I figure out why it's getting stuck there? It's not the CUDA problem, I don't think, I have a GeForce GTX Titan X |
I'll test it later on the computer thankyou all |
System specs : win 7 64bits + Geforce GTX 770
I open Meshroom
I import some pictures from the doll gallery
http://www.agisoft.com/downloads/sample-data/
1/ When i click "start" on the top bar, meshroom halt on the feature extraction node that remain orange
2/ When i launch the computation by rightclicking on a node in the graph window, meshroom halt on the "structure from motion" node that remain orange
3/ If i stop the computation and relaunch it (with a right click / compute on a node) i've got a error message : AliceVision incrementalSfM alicevision 2.0.0 stopped working
4/ if you clear the datas of the SFM node, and relaunch the computation, jump to 2/
The text was updated successfully, but these errors were encountered: