Skip to content

Instantly share code, notes, and snippets.

View botcs's full-sized avatar

Csaba Botos botcs

  • PhD @ Torr Vision Group
  • Oxford, UK
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"import json\n",
"from pycocotools.coco import COCO\n",
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"import json\n",
"from pycocotools.coco import COCO\n",
This file has been truncated, but you can view the full file.
2019-10-25 13:40:43,751 maskrcnn_benchmark INFO: Using 1 GPUs
2019-10-25 13:40:43,751 maskrcnn_benchmark INFO: Namespace(config_file='configs/da_faster_rcnn/e2e_da_faster_rcnn_R_50_C4_sim10k.yaml', distributed=False, local_rank=0, opts=['OUTPUT_DIR', 'runs/sim10k-baseline'], skip_test=False)
2019-10-25 13:40:43,751 maskrcnn_benchmark INFO: Collecting env info (might take some time)
2019-10-25 13:40:45,568 maskrcnn_benchmark INFO:
PyTorch version: 1.3.0
Is debug build: No
CUDA used to build PyTorch: 10.1.243
OS: Ubuntu 18.04.3 LTS
GCC version: (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
class SetOpsArithmeticModule(nn.Module):
def __init__(self, *args, **kwargs):
super(SetOpsArithmeticModule, self).__init__()
self.subtract_op = lambda x, y: x - y
self.intersect_op = lambda x, y: x * y
self.union_op = lambda x, y: x + y
def forward(self, a: torch.Tensor, b: torch.Tensor):
class SetOpsArithmeticModule(nn.Module):
def __init__(self, *args, **kwargs):
super(SetOpsArithmeticModule, self).__init__()
self.subtract_op = lambda x, y: x - y
self.intersect_op = lambda x, y: x * y
self.union_op = lambda x, y: x + y
def forward(self, a: torch.Tensor, b: torch.Tensor):
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
datasets/gta/train/inst/050/050_02284.png
datasets/gta/train/inst/071/071_01387.png
datasets/gta/train/inst/050/050_02285.png
datasets/gta/train/inst/050/050_02286.png
datasets/gta/train/inst/071/071_01388.png
datasets/gta/train/inst/050/050_02287.png
datasets/gta/train/inst/050/050_02288.png
datasets/gta/train/inst/049/049_01255.png
datasets/gta/train/inst/050/050_02289.png
datasets/gta/train/inst/071/071_01389.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.