Skip to content

Instantly share code, notes, and snippets.

View CuriousG102's full-sized avatar

Miles Hutson CuriousG102

View GitHub Profile
@CuriousG102
CuriousG102 / dji_dataset.py
Created August 2, 2021 00:45
Dataset loader that was added to Monodepth2
from __future__ import absolute_import, division, print_function
import os
import skimage.transform
import numpy as np
import PIL.Image as pil
from kitti_utils import generate_depth_map
from .mono_dataset import MonoDataset
@CuriousG102
CuriousG102 / main.cpp
Created August 2, 2021 00:35
Script for flying drone in Airsim
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "common/common_utils/StrictMode.hpp"
STRICT_MODE_OFF
#ifndef RPCLIB_MSGPACK
#define RPCLIB_MSGPACK clmdep_msgpack
#endif // !RPCLIB_MSGPACK
#include "rpc/rpc_error.h"
STRICT_MODE_ON
category precision recall fmeasure
TEXT_MESSAGES 0.3417638418713034 0.6489959822470728 0.4212560484095129
REDDIT_POST 0.30877608491170117 0.6170757663382618 0.38454107800533954
IMAGES_WITH_TEXT 0.22454329675844176 0.5449019654392063 0.2885081525403852
TWITTER_POST 0.18483416466286007 0.8174334076520877 0.291112832361626
FACEBOOK_POST 0.3777140446972155 0.7187959493632985 0.4530969669850987
GREENTEXT_4CHAN 0.3828644127189374 0.5691771340365318 0.4399102781168605
CODE 0.16303498618126022 0.47044091445352004 0.2086660010596243
FACEBOOK_COMMENT 0.2858259455813186 0.7030097324170735 0.37624580308134453
REDDIT_COMMENT 0.34153956321967327 0.6358049901323197 0.42319828710372565