https://forums.developer.nvidia.com/t/pytorch-for-jetson-version-1-11-now-available/72048
sudo nvpmodel -m 2 # on Xavier NX, use -m 2 instead (15W 6-core mode)
sudo jetson_clocks
https://forums.developer.nvidia.com/t/pytorch-for-jetson-version-1-11-now-available/72048
sudo nvpmodel -m 2 # on Xavier NX, use -m 2 instead (15W 6-core mode)
sudo jetson_clocks
#!/usr/bin/env python | |
import time | |
""" | |
A simple Timer class with context manager support | |
""" | |
class Timer: | |
def __init__(self, ema=1.0): |
CAD assistant to convert STEP into OBJ without losing colors: https://www.opencascade.com/products/cad-assistant/
Blender to convert OBJ into DAE, needs reescaling by 0.001
FreeCAD to DAE loses colors
ARC User Guide: https://arc-user-guide.readthedocs.io/en/latest/index.html
ARC Software Guide: https://arc-software-guide.readthedocs.io/en/latest/index.html
JADE2 user guide: https://docs.jade.ac.uk/en/latest/jade/scheduler/index.html#introduction
xhost + ${hostname}
to allow connections to the macOS host *export HOSTNAME=`hostname`
* environment:
import cProfile | |
from scipy.optimize import minimize | |
def main(): | |
# c.f. https://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.minimize.html | |
func = lambda x: (x[0] - 1) ** 2 + (x[1] - 2.5) ** 2 | |
x0 = (2, 0) |
# Last updated May, 2024 for Apple silicon Macs | |
# Install Homebrew if you don't already have it: https://brew.sh | |
# install nano from homebrew | |
brew install nano nanorc | |
# update your nanorc file | |
echo 'include "'"$(brew --cellar nano)"'/*/share/nano/*.nanorc"' >> ~/.nanorc | |
# close and re-open your terminal and you'll have syntax highlighting |