Skip to content

Commit

Permalink
Merge pull request #211 from bacetiner/master
Browse files Browse the repository at this point in the history
Updated FacadeParser for better prediction performance
  • Loading branch information
bacetiner authored Jun 17, 2024
2 parents 04d2a17 + 823bc32 commit 6a528b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions brails/modules/FacadeParser/FacadeParser.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def install_default_model(model_path='tmp/models/facadeParser.pth'):

if not os.path.isfile(model_path):
print('Loading default facade parser model file to tmp/models folder...')
torch.hub.download_url_to_file('https://zenodo.org/record/5809365/files/facadeParser.pth',
torch.hub.download_url_to_file('https://zenodo.org/record/10448047/files/facadeParserv2.pth',
model_path, progress=False)
print('Default facade parser model loaded')
else:
Expand Down Expand Up @@ -578,4 +578,4 @@ def get_depth_map(depthfile, imsize, bndangles):
# Unload the model from GPU
if torch.cuda.is_available():
del model
torch.cuda.empty_cache()
torch.cuda.empty_cache()

0 comments on commit 6a528b6

Please sign in to comment.