Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Tips on PlantUML
Physical World Modeling and Computer Vision
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Tips on dbeaver
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Links
General Tips
- Standalone dbeaver can install some eclipse plugins.
Vim Keybindings
You can install vrapper as vim keybindings on dbeaver.
-
Help -> Install Software
-
Add vrapper repository http://vrapper …
Make Your Model Training Reproducible in PyTorch
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
The PyTorch doc Reproducibility has very detailed instructions on how to make your model training reproducible. Basically, you need the following code.
torch.manual_seed(args.seed)
np.random.seed(args.seed …Class in Python
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
@abstractmethod, @staticmethod, abstract class, etc.
override,
prefer classmethod to static method;
both class and static methods can be override
Meta Class
https://stackoverflow.com/questions/100003/what-are-metaclasses-in-python
It seems to me …