Skip to content

Instantly share code, notes, and snippets.

View fgerard's full-sized avatar

Felipe Gerard fgerard

  • Mexico
View GitHub Profile
@fgerard
fgerard / cp-annon.sh
Created May 13, 2021 16:13
Este sirve para una vez que limpias con rectlabel un dataset autogenerado le quitas lo repetitivo
#!/bin/bash
mv $1 $1-all
mkdir $1
mkdir $1/annotations
for f in $( cat $1-all/extras.txt )
do
cp -v $1-all/$f $1/
done
for f in $( ls $1-all/annotations | egrep "xml$" )
@fgerard
fgerard / README.md
Last active May 14, 2021 00:30
Pasos para arreglar DS autogenerados
  1. Bajas el archivo por ej:
aws s3 cp s3://quantum-dataset/portimex/obispo/DS/PLACA/2021-05-13-09.tgz .
download: s3://quantum-dataset/portimex/obispo/DS/PLACA/2021-05-13-09.tgz to ./2021-05-13-09.tgz
  1. Lo desempacas:
tar xzf 2021-05-13-09.tgz
  1. Con rectlabel lo limpias, ojo en el directorio ej: 2021-05-13-09 se crea extras.txt y se pones algunas imagenes que no tengan objetos