Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions evaluation/robotwin/eval_polict_client_openpi.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def class_decorator(task_name):
try:
env_class = getattr(envs_module, task_name)
env_instance = env_class()
except:
except Exception:
raise SystemExit("No Task")
return env_instance

Expand Down Expand Up @@ -680,7 +680,7 @@ def parse_override_pairs(pairs):
value = pairs[i + 1]
try:
value = eval(value)
except:
except Exception:
pass
override_dict[key] = value
return override_dict
Expand Down
2 changes: 1 addition & 1 deletion evaluation/robotwin/test_render.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def __init__(self):
try:
self.setup_scene()
print("\033[32m" + "Render Well" + "\033[0m")
except:
except Exception:
print("\033[31m" + "Render Error" + "\033[0m")
exit()

Expand Down
2 changes: 1 addition & 1 deletion wan_va/modules/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

try:
from flash_attn_interface import flash_attn_func
except:
except Exception:
from flash_attn import flash_attn_func

__all__ = ['WanTransformer3DModel']
Expand Down