Giter Club home page Giter Club logo

bgpantojar / lod3_buildings Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 6.0 2.34 MB

This repository contains the codes for computing geometrical digital twins as LOD3 models for buildings using a structure from motion and semantic segmentation. The methodoly hereby implementes was presented in the paper "Generating LOD3 building models from structure-from-motion and semantic segmentation" by Pantoja-Rosero et., al.

License: GNU General Public License v3.0

Shell 0.28% Python 99.72%

lod3_buildings's People

Contributors

bgpantojar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

lod3_buildings's Issues

Annotation Tool for creating dataset

Hi,
Thank you for the great work you have put up.

I want to create my own dataset of different types of buildings and train the network so I was wondering which annotation tool to use. Can you please tell me which tool was used while creating the dataset for labeling the opening corners, openings, and facade of the masonry buildings?

Script for IMF metrics

Hello Dr. Bryan,

Thank you for your work. I would like to evaluate my reconstructions with the Inliers of Model Fidelity (IMF) metric. Can you please update the repo with your code for evaluating metrics or attach it here?

Sincerely,
Rucha

[problem] Exception while processing file: ../examples/1lod.py [invalid literal for int() with base 10: 'anchor']

Hello author, I am very interested in your project. But I encountered some problems while reproducing. When I created my own digital twin LOD3 model as required, the following error occurred. If you could help me answer, I would greatly appreciate it.

Exception while processing file: ../examples/1lod.py [invalid literal for int() with base 10: 'anchor']

The entire error reporting process is as follows:

 ./LOD3.sh ../examples/1op.py ../examples/1lod.py
./LOD3.sh: 行 7: =../examples/1op.py: 没有那个文件或目录
./LOD3.sh: 行 8: =../examples/1lod.py: 没有那个文件或目录
Traceback (most recent call last):
  File "/home/zjh/anaconda3/envs/lod3/lib/python3.7/site-packages/torch/__init__.py", line 172, in _load_global_deps
    ctypes.CDLL(lib_path, mode=ctypes.RTLD_GLOBAL)
  File "/home/zjh/anaconda3/envs/lod3/lib/python3.7/ctypes/__init__.py", line 364, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /home/zjh/anaconda3/envs/lod3/lib/python3.7/site-packages/torch/lib/../../nvidia/cublas/lib/libcublas.so.11: symbol 
cublasLtGetStatusString, version libcublasLt.so.11 not defined in file libcublasLt.so.11 with link time reference

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "../examples/1op.py", line 11, in <module>
    from opening_detector import main_op_detector
  File "/home/LOD3_buildings-master/lod3_buildings/src/opening_detector.py", line 21, in <module>
    import torch
  File "/home/zjh/anaconda3/envs/lod3/lib/python3.7/site-packages/torch/__init__.py", line 217, in <module>
    _load_global_deps()
  File "/home/zjh/anaconda3/envs/lod3/lib/python3.7/site-packages/torch/__init__.py", line 178, in _load_global_deps
    _preload_cuda_deps()
 File "/home/zjh/anaconda3/envs/lod3/lib/python3.7/site-packages/torch/__init__.py", line 158, in _preload_cuda_deps
    ctypes.CDLL(cublas_path)
  File "/home/zjh/anaconda3/envs/lod3/lib/python3.7/ctypes/__init__.py", line 364, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /home/zjh/anaconda3/envs/lod3/lib/python3.7/site-packages/nvidia/cublas/lib/libcublas.so.11: symbol 
cublasLtGetStatusString, version libcublasLt.so.11 not defined in file libcublasLt.so.11 with link time reference
FreeCAD 0.19, Libs: 0.19R21775 (Git)
(c) Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2020
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Exception while processing file: ../examples/1op.py [No module named 'PIL']
Building LOD3
Exception while processing file: ../examples/1lod.py [invalid literal for int() with base 10: 'anchor']

Best regards,
PJH

Running problems

Hello author, I have read your project carefully and am very interested in it. But I met some problems when I reproduced it. All my steps followed your instructions,when I run

./LOD3.sh ../examples/p2_LOD3_00_School_main_op.py ../examples/p2_LOD3_00_School_main_LOD3.py

The following problems arise,I don't know why these errors occur, and they don't seem to affect the end result of the code, but I don't know if they are normal. I hope you can answer my question. Thank you

./LOD3.sh: 行 7: =../examples/p2_LOD3_00_School_main_op.py: 没有那个文件或目录
./LOD3.sh: 行 8: =../examples/p2_LOD3_00_School_main_LOD3.py: 没有那个文件或目录
Predicting corners with corner detector CNN....
image count in test path :3
Corner prediction process in 33.333333333333336%
Corner prediction process in 66.66666666666667%
Corner prediction process in 100.0%
Saving corner prediction process in 33.333333333333336%
Saving corner prediction process in 66.66666666666667%
Saving corner prediction process in 100.0%
Morphological operations in masks 33.333333333333336%
Morphological operations in masks 66.66666666666667%
Morphological operations in masks 100.0%
labeling and regionprops. Saving final corners process in 33.333333333333336%
labeling and regionprops. Saving final corners process in 66.66666666666667%
labeling and regionprops. Saving final corners process in 100.0%
Predicting openings with semantic segmentation...
Saving opening prediction process in 33.333333333333336%
Saving opening prediction process in 66.66666666666667%
Saving opening prediction process in 100.0%
Morphological operations in masks 33.333333333333336%
Morphological operations in masks 66.66666666666667%
Morphological operations in masks 100.0%
./LOD3.sh: 行 10: 6216 已杀死 PYTHONPATH=${LOD3PATH} PATH=$PATH:${FREECADPATH} python $main_op_file $@
FreeCAD 0.19, Libs: 0.19R21775 (Git)
(c) Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2020
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.

#### ###

# # # #

## #### #### # # # #

# # # # # # # ##### #

# #### #### # # # #

# # # # # # # # ## ##

# #### #### ### # # #### ## ##

Exception while processing file: ../examples/p2_LOD3_00_School_main_op.py [No module named 'PIL']
Building LOD3
Recompute......
Found a shape containing curves, triangulating
Successfully written ../results/p2_LOD3_00_School/LOD3.obj

Error while generating LOD3 using dense polyfit object

Hello Dr. Bryan,

I encountered an error while generating LOD3 using a dense polyfit object as below:

File "../src\opening_builder.py", line 90, in build_face
face = Part.Face(poly)
Part.OCCError: Failed to create face from wire

Do you have any idea about what could be the issue?

Also, how do I save a point cloud/mesh from Meshroom?
For generating LOD2 models so far, I have been using mesh created by Agisoft Metashape (licensed).

Best regards,
Rucha

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.