Skip to content

Instantly share code, notes, and snippets.

Conditionally Accepted Papers:
The following paper IDs have been conditionally accepted to ECCV 2024 (see email to authors for more details):
4
6
10
19
22
29
37
@paulgavrikov
paulgavrikov / ILSVRC2012_val_labels.json
Created October 16, 2022 02:01
ILSVRC2012_val_labels.json
This file has been truncated, but you can view the full file.
{"ILSVRC2012_val_00049927.JPEG": "n04532106", "ILSVRC2012_val_00028335.JPEG": "n03841143", "ILSVRC2012_val_00041118.JPEG": "n02098105", "ILSVRC2012_val_00025302.JPEG": "n02093754", "ILSVRC2012_val_00021206.JPEG": "n02093991", "ILSVRC2012_val_00046540.JPEG": "n02981792", "ILSVRC2012_val_00046968.JPEG": "n02823428", "ILSVRC2012_val_00043081.JPEG": "n02006656", "ILSVRC2012_val_00025334.JPEG": "n02894605", "ILSVRC2012_val_00029051.JPEG": "n04479046", "ILSVRC2012_val_00025076.JPEG": "n03908618", "ILSVRC2012_val_00029986.JPEG": "n02437312", "ILSVRC2012_val_00019681.JPEG": "n02396427", "ILSVRC2012_val_00017054.JPEG": "n01930112", "ILSVRC2012_val_00009711.JPEG": "n02108000", "ILSVRC2012_val_00015076.JPEG": "n02093428", "ILSVRC2012_val_00017877.JPEG": "n02871525", "ILSVRC2012_val_00003461.JPEG": "n03538406", "ILSVRC2012_val_00049375.JPEG": "n09332890", "ILSVRC2012_val_00024607.JPEG": "n02840245", "ILSVRC2012_val_00008480.JPEG": "n04229816", "ILSVRC2012_val_00027100.JPEG": "n02106382", "ILSVRC2012_val_00015220.JPEG": "
This file has been truncated, but you can view the full file.
ILSVRC2012_val_00049927.JPEG n04532106
ILSVRC2012_val_00028335.JPEG n03841143
ILSVRC2012_val_00041118.JPEG n02098105
ILSVRC2012_val_00025302.JPEG n02093754
ILSVRC2012_val_00021206.JPEG n02093991
ILSVRC2012_val_00046540.JPEG n02981792
ILSVRC2012_val_00046968.JPEG n02823428
ILSVRC2012_val_00043081.JPEG n02006656
ILSVRC2012_val_00025334.JPEG n02894605
ILSVRC2012_val_00029051.JPEG n04479046
@paulgavrikov
paulgavrikov / ieeetr_fullname.bst
Created March 15, 2022 13:10
BiBTeX bibliography style that allo0ws fullnames with ieeetr
% Copyright (C) 1985, 1988, 2010 Howard Trickey and Oren Patashnik.
% Unlimited copying and redistribution of this file are permitted as long as
% it is unmodified. Modifications (and redistribution of modified versions)
% are also permitted, but only if the resulting file is renamed.
%
% IEEE Transactions bibliography style (8-Dec-10 version)
% numeric labels, order-of-reference, IEEE abbreviations,
% quotes around article titles, commas separate all fields
% except after book titles and before "notes". Otherwise,
% much like the "plain" family, from which this is adapted.
import torch
IN_PATH = ... # path to your .onnx model (OUT_PATH if you used the previous example)
onnx_model = torch.onnx.load(IN_PATH)
torch.onnx.checker.check_model(onnx_model)
import torch
SHAPE = ... # your batch shape
OUT_PATH = ... # output path
x = torch.randn(SHAPE)
with torch.no_grad():
if isinstance(model, torch.nn.DataParallel): # extract the module from dataparallel models
model = model.module
model.cpu()
model.eval() # the converter works best on models stored on the CPU
torch.onnx.export(model, # model being run
@paulgavrikov
paulgavrikov / bluetooth_versions.py
Last active December 12, 2019 10:00
Bluetooth Core Specification 1.0b - 5.1 Release Dates
release_date["Bluetooth"]["1.0b"] = "1999-12-01"
release_date["Bluetooth"]["1.1"] = "2001-02-22"
release_date["Bluetooth"]["1.2"] = "2003-11-05"
release_date["Bluetooth"]["2.0"] = "2004-11-04"
release_date["Bluetooth"]["2.1"] = "2007-07-26"
release_date["Bluetooth"]["3.0"] = "2009-04-21"
release_date["Bluetooth"]["4.0"] = "2010-06-30"
release_date["Bluetooth"]["4.1"] = "2013-12-03"
release_date["Bluetooth"]["4.2"] = "2014-12-02"
release_date["Bluetooth"]["5.0"] = "2016-12-06"