Skip to content

Instantly share code, notes, and snippets.

View MarvinTeichmann's full-sized avatar

Marvin Teichmann MarvinTeichmann

  • University of Cambridge
  • Cambridge, United Kingdom
View GitHub Profile
"""
Plots MaxF1 score.
-------------------------------------------------
The MIT License (MIT)
Copyright (c) 2017 Marvin Teichmann
More details: https://github.com/MarvinTeichmann/KittiSeg/blob/master/LICENSE
@MarvinTeichmann
MarvinTeichmann / conv2dlocal.py
Created November 3, 2017 18:22 — forked from halochou/conv2dlocal.py
A PyTorch wrap for SpatialConvolutionLocal
import torch
from torch.autograd import Function
from torch._thnn import type2backend
from torch.nn.modules.utils import _pair
update_output_name = 'SpatialConvolutionLocal_updateOutput'
grad_input_name = 'SpatialConvolutionLocal_updateGradInput'
grad_params_name = 'SpatialConvolutionLocal_accGradParameters'
class Conv2dLocal(Function):
@MarvinTeichmann
MarvinTeichmann / eth.txt
Last active February 18, 2018 01:56
Wallet
0x22c322a4ceea10b74a8c975d21a7d63c69a9e4b3
@MarvinTeichmann
MarvinTeichmann / nvidia-tdp.service
Last active December 12, 2022 16:09 — forked from DavidAce/nvidia-tdp.service
Nvidia power limit at boot
[Unit]
Description=Set NVIDIA power limit above default
[Service]
Type=oneshot
ExecStartPre=/usr/bin/nvidia-smi -pm 1
ExecStart=/usr/bin/nvidia-smi -pl 275