Skip to content

Instantly share code, notes, and snippets.

View nicochidt's full-sized avatar

Nicolás Chiaraviglio nicochidt

View GitHub Profile
@nicochidt
nicochidt / Fastai_labels.py
Created August 6, 2019 10:08
Labels relabelling on Fastai
from fastai import *
from fastai.vision import *
from pathlib import Path
import pandas as pd
# data boxes is a very simple file with the following lines (file,bb,class):
# img1.jpg,16 121 390 492,0
# img2.jpg,396 1057 1450 2100,1
# img3.jpg,39 213 519 673,0
openapi: 3.0.3
info:
title: New Collection
version: 1.0.0
contact: {}
servers:
- url: http://172.31.19.244:5000
paths:
/threats:
get: