0

我尝试使用 meshroom 使用 google colab 制作 3d 模型。一切正常,但没有输出文件。我尝试安装巨型而不是谷歌驱动器,但没有运气。相反,我得到了以下文本(由于字数限制而减少了一些输出)。这是我使用的 colab 笔记本:https ://colab.research.google.com/drive/10T2pDZGRUd5r1UiAvQUwJZTqE_tLydcu

[12:26:49.520867][info] Bundle Adjustment Statistics:
    - local strategy enabled: no
    - adjustment duration: 0.00275099 s
    - poses:
        - # refined:  2
        - # constant: 0
        - # ignored:  0
    - landmarks:
        - # refined:  88
        - # constant: 0
        - # ignored:  0
    - intrinsics:
        - # refined:  0
        - # constant: 1
        - # ignored:  0
    - # residual blocks: 176
    - # successful iterations: 12
    - # unsuccessful iterations: 0
    - initial RMSE: 0.386763
    - final   RMSE: 0.36501
[12:26:49.520935][info] Remove outliers: 
    - # outliers residual error: 0
    - # outliers angular error: 0
[12:26:49.520954][info] Bundle adjustment iteration: 0 took 3 msec.
[12:26:49.520966][info] Bundle adjustment with 1 iterations took 3 msec.
[12:26:49.521135][info] Initial pair is: 738871193, 833403405
[12:26:49.521201][info] Begin Incremental Reconstruction:
    - mode: SfM augmentation
    - # images in input: 236
    - # images in resection: 234
    - # landmarks in input: 44
    - # cameras already calibrated: 2
[12:26:49.521225][info] Incremental Reconstruction start iteration 0:
    - # number of resection groups: 0
    - # number of poses: 2
    - # number of landmarks: 44
    - # remaining images: 234
[12:26:49.522265][info] Update Reconstruction:
    - resection id: 0
    - # images in the resection group: 1
    - # images remaining: 234
[12:26:49.522355][info] [3/236] Robust Resection of view: 18451152
[12:26:49.529856][info] Robust Resection information:
    - resection status: true
    - threshold (error max): 2.89881
    - # points used for resection: 32
    - # points validated by robust resection: 31
[12:26:49.532694][info] Bundle adjustment start.
[12:26:49.532746][info] Start bundle adjustment iteration: 0
block_sparse_matrix.cc:81 Allocating values array with 15600 bytes.
detect_structure.cc:95 Dynamic f block size because the block size changed from 6 to 4
detect_structure.cc:113 Schur complement static structure <2,3,-1>.
detect_structure.cc:95 Dynamic f block size because the block size changed from 6 to 4
detect_structure.cc:113 Schur complement static structure <2,3,-1>.
[12:26:49.552254][info] Bundle Adjustment Statistics:
    - local strategy enabled: no
    - adjustment duration: 0.0190014 s
    - poses:
        - # refined:  3
        - # constant: 0
        - # ignored:  0
    - landmarks:
        - # refined:  75
        - # constant: 0
        - # ignored:  0
    - intrinsics:
        - # refined:  1
        - # constant: 0
        - # ignored:  0
    - # residual blocks: 150
    - # successful iterations: 51
    - # unsuccessful iterations: 0
    - initial RMSE: 0.476511
    - final   RMSE: 0.313505
[12:26:49.552361][info] Remove outliers: 
    - # outliers residual error: 0
    - # outliers angular error: 0
[12:26:49.552432][info] Bundle adjustment iteration: 0 took 19 msec.
[12:26:49.552454][info] Bundle adjustment with 1 iterations took 19 msec.
[12:26:49.625419][info] Incremental Reconstruction start iteration 1:
    - # number of resection groups: 1
    - # number of poses: 0
    - # number of landmarks: 0
    - # remaining images: 233
[12:26:49.625465][info] Incremental Reconstruction completed with 2 iterations:
    - # number of resection groups: 1
    - # number of poses: 0
    - # number of landmarks: 0
    - # remaining images: 233
[12:26:49.625540][info] Structure from Motion statistics:
    - # input images: 236
    - # cameras calibrated: 0
    - # poses: 0
    - # landmarks: 0
    - elapsed time: 0.104
    - residual RMSE: -nan
[12:26:49.625566][info] Histogram of residuals:

0   |   0
0.1 |   0
0.2 |   0
0.3 |   0
0.4 |   0
0.5 |   0
0.6 |   0
0.7 |   0
0.8 |   0
0.9 |   0
1

[12:26:49.625587][info] Histogram of observations length:

0   |   0
0.1 |   0
0.2 |   0
0.3 |   0
0.4 |   0
0.5 |   0
0.6 |   0
0.7 |   0
0.8 |   0
0.9 |   0
1

[12:26:49.625605][info] Histogram of nb landmarks per view:

0   |   0
0   |   0
0   |   0
0   |   0
0   |   0
0   |   0
0   |   0
0   |   0
0   |   0
0   |   0
1
4

1 回答 1

0

您是否尝试过这部分代码?

# Choose format (tar.gz or zip)
!tar -czvf out.tar.gz ./out
from google.colab import files

files.download('out.tar.gz')

!zip -r out.zip ./out
files.download('out.zip')

有关更多信息,您可以查看此来源: https ://colab.research.google.com/gist/natowi/3044484ad0c98877692c399297e3ab7e/meshroomcolab.ipynb#scrollTo=VQ8F_rxPw4dK

于 2021-05-24T23:53:04.640 回答