sunset1995 / HorizonNet

Pytorch implementation of HorizonNet: Learning Room Layout with 1D Representation and Pano Stretch Data Augmentation.
https://sunset1995.github.io/HorizonNet/
MIT License
324 stars 88 forks source link

What is the definition of tol? Why are you setting tol=abs(0.16 * z1 / 1.6) in inference.py? #7

Closed Hanoch666 closed 5 years ago

Hanoch666 commented 5 years ago

What is the definition of tol? Why are you setting tol=abs(0.16 * z1 / 1.6) in inference.py?

And I find there is a function to calculate the rotation angle with PCA method, but it seems that it doesn't be called. https://github.com/sunset1995/HorizonNet/blob/master/misc/post_proc.py#L178

vlordier commented 4 years ago

@Hanoch666 did you have an answer for this ?