Skip to content

Instantly share code, notes, and snippets.

@Zearin
Zearin / python_decorator_guide.md
Last active July 18, 2024 00:10
The best explanation of Python decorators I’ve ever seen. (An archived answer from StackOverflow.)

NOTE: This is a question I found on StackOverflow which I’ve archived here, because the answer is so effing phenomenal.


Q: How can I make a chain of function decorators in Python?


If you are not into long explanations, see [Paolo Bergantino’s answer][2].

@WuXinyang2012
WuXinyang2012 / records.md
Last active January 18, 2019 10:04
Records of drl-for-safety projects.

Records of drl-for-safety projects.

1, Background Kownledge.

1.1 Learn the basic DRL concepts and popular algorithms.
1.2 Focus more on DDPG+HER algorithm.

2, Compare mujoco-py and dm_control.

Result: Choose mujoco-py as our framework.

Reason:

1.) mujoco-py has more active community: the number of open issues ~120, while dm_control ~10.