Restart USB ports after a power overdraw (error -110). Unplug all devices prior to running script.
References:
Restart USB ports after a power overdraw (error -110). Unplug all devices prior to running script.
References:
| # Retry a command up to a specific numer of times until it exits successfully, | |
| # with exponential back off. | |
| # | |
| # $ retry 5 echo Hello | |
| # Hello | |
| # | |
| # $ retry 5 false | |
| # Retry 1/5 exited 1, retrying in 1 seconds... | |
| # Retry 2/5 exited 1, retrying in 2 seconds... | |
| # Retry 3/5 exited 1, retrying in 4 seconds... |
References:
https://stackoverflow.com/a/22376126/3450793
You can get what you want by assigning to warnings.showwarning. The warnings module documentation itself recommends that you do that, so it's not that you're being tempted by the dark side of the source. :)
You may replace this function with an alternative implementation by assigning to
warnings.showwarning.
| [Desktop Entry] | |
| Name=Deepkit | |
| Exec=deepkit | |
| Terminal=false | |
| Type=Application | |
| Icon=/usr/share/icons/hicolor/0x0/apps/deepkit.png | |
| StartupWMClass=Deepkit | |
| X-AppImage-Version=12 | |
| Comment=Deepkit application to manage, track, and debug deep learning/machine learning experiments and models. | |
| Categories=Development; |
| #!/usr/bin/env bash | |
| # PCL | |
| sudo apt install libpcl-dev | |
| # VTK | |
| # Ref: https://discourse.vtk.org/t/installing-vtk-in-ubuntu-18-04/2147/4 | |
| sudo apt install cmake \ |
refs:
An actor pool is a utility class similar to multiprocessing.Pool that lets you schedule Ray tasks over a fixed pool of actors.
References:
Create an Actor pool from a list of existing actors.