mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-22 15:20:34 +08:00
Fix: making visualisation work again
Summary: 1. Respecting `visdom_show_preds` parameter when it is False. 2. Clipping the images pre-visualisation, which is important for methods like SRN that are not arare of pixel value range. Reviewed By: bottler Differential Revision: D37786439 fbshipit-source-id: 8dbb5104290bcc5c2829716b663cae17edc911bd
This commit is contained in:
committed by
Facebook GitHub Bot
parent
af55ba01f8
commit
4261e59f51
@@ -638,7 +638,7 @@ def _seed_all_random_engines(seed: int) -> None:
|
||||
random.seed(seed)
|
||||
|
||||
|
||||
def _setup_envvars_for_cluster(cfg) -> bool:
|
||||
def _setup_envvars_for_cluster() -> bool:
|
||||
"""
|
||||
Prepares to run on cluster if relevant.
|
||||
Returns whether FAIR cluster in use.
|
||||
|
||||
Reference in New Issue
Block a user