This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt | |
import torch | |
from torch.optim import SGD | |
from torch.optim.lr_scheduler import ExponentialLR, CosineAnnealingWarmRestarts, CosineAnnealingLR | |
model = [torch.nn.Parameter(torch.randn(2, 2, requires_grad=True))] | |
GPU_COUNT = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
trash_dir=/home/rdl/.local/share/Trash | |
trash_files="${trash_dir}/files" | |
trash_info="${trash_dir}/info" | |
echo "Save remove files" | |
if [ $1 ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Setting up a Jupyter Lab remote server raspberry | |
[Unit] | |
Description=Jupyter Lab | |
[Service] | |
Type=simple | |
PIDFile=/run/jupyter.pid | |
ExecStart=/home/pi/.local/bin/jupyter-lab --config=/home/pi/.jupyter/jupyter_notebook_config.py | |
User=pi |