CTRL-C: Camera calibration TRansformer with Line-Classification

This repository contains the official code and pretrained models for CTRL-C (Camera calibration TRansformer with Line-Classification). Jinwoo Lee, Hyunsung Go, Hyunjoon Lee, Sunghyun Cho, Minhyuk Sung and Junho Kim. ICCV 2021. Single image camera calibration is the task of estimating the camera parameters from a single input image, such as the vanishing points, focal length, and horizon line. In this work, we propose Camera calibration TRansformer with Line-Classification (CTRL-C), an end-to-end neural network-based approach to single image camera calibration, which […]

Read more

The Intrinsic Dimension of Images and Its Impact on Learning

Estimating the instrinsic dimensionality of image datasets Code for: The Intrinsic Dimensionaity of Images and Its Impact On Learning – Phillip Pope and Chen Zhu, Ahmed Abdelkader, Micah Goldblum, Tom Goldstein (ICLR 2021, spotlight) Environment This code was developed in the following environment conda create dimensions python=3.6 jupyter matplotlib scikit-learn pytorch==1.5.0 torchvision cudatoolkit=10.2 -c pytorch To generate new data of controlled dimensionality with GANs, you must install: pip install pytorch-pretrained-biggan To use the shortest-path method (Granata and Carnevale 2016) you […]

Read more

A Django plugin for pytest

Welcome to pytest-django! pytest-django allows you to test your Django project/applications with the pytest testing tool. Install pytest-django pip install pytest-django Why would I use this instead of Django’s manage.py test command? Running your test suite with pytest-django allows you to tap into the features that are already present in pytest. Here are some advantages: Manage test dependencies with pytest fixtures. Less boilerplate tests: no need to import unittest, create a subclass with methods. Write tests as regular functions. Database […]

Read more

splinter: an open source tool for testing web applications using Python

splinter – python tool for testing web applications splinter is an open source tool for testing web applications using Python. It lets you automate browser actions, such as visiting URLs and interacting with their items. Sample code from splinter import Browser browser = Browser() browser.visit(‘http://google.com’) browser.fill(‘q’, ‘splinter – python acceptance testing for web applications’) browser.find_by_name(‘btnK’).click() if browser.is_text_present(‘splinter.readthedocs.io’): print(“Yes, the official website was found!”) else: print(“No, it wasn’t found… We need to improve our SEO techniques”) browser.quit() Note:    

Read more

A live profiling and inspection tool for the Django framework

Silk is a live profiling and inspection tool for the Django framework. Silk intercepts and stores HTTP requests and database queries before presenting them in a user interface for further inspection: SECURITY NOTE: Because Silk stores all HTTP requests into the database in plain text, it will store the request’s sensitive information into the database in plain text (e.g. users’ passwords!). This is a massive security concern. An issue has been created for this here. Contents Requirements Silk    

Read more

Web testing library for Robot Framework

SeleniumLibrary is a web testing library for Robot Framework that utilizes the Selenium tool internally. The project is hosted on GitHub and downloads can be found from PyPI. SeleniumLibrary works with Selenium 3 and 4. It supports Python 3.6 or newer. In addition to the normal Python interpreter, it works also with PyPy. SeleniumLibrary is based on the old SeleniumLibrary that was forked to Selenium2Library and then later renamed back to SeleniumLibrary. See the Versions and History sections below for […]

Read more

Do Prompt-Based Models Really Understand the Meaning of Their Prompts?

This repository accompanies our paper “Do Prompt-Based Models Really Understand the Meaning of Their Prompts?” Usage To replicate our results in Section 4, run: python3 prompt_tune.py –save-dir ../runs/prompt_tuned_sec4/ –prompt-path ../data/binary_NLI_prompts.csv –experiment-name sec4 –few-shots 3,5,10,20,30,50,100,250 –production –seeds 1 Add –fully-train if you want to train on the entire training set in addition to few-shot settings. To replicate Section 5, run: python3 prompt_tune.py –save-dir ../runs/prompt_tuned_sec5/ –prompt-path ../data/binary_NLI_prompts_permuted.csv    

Read more

Reading list for research topics in sound event detection

Reading List for topics in Sound Event Detection Introduction Sound event detection aims at processing the continuous acoustic signal and converting it into symbolic descriptions of the corresponding sound events present at the auditory scene. Sound event detection can be utilized in a variety of applications, including context-based indexing and retrieval in multimedia databases, unobtrusive monitoring in health care, and surveillance. Recently (since 2017), to utilise large multimedia data available, learning acoustic information from weak annotations was formulated. This reading […]

Read more

Yet Another Reinforcement Learning Tutorial

This repo contains self-contained RL implementations including For those who want to run without git clone, please find the colab notebooks in this Google Drive. Lecture notes can also be found in this repo. It contains: RL applications Model-based methods (MDP, Value Iteration, Policy Iteraction, etc) Model-free methods (MC, TD, SARSA, Q-learning, etc) Policy-based methods (TRPO, PPO, SAC, etc) Population-based methods (CEM, CMA-ES, ARS) Summary contact: sungjoon-choi at korea dot ac dot kr GitHub https://github.com/sjchoi86/rl_tutorial    

Read more

Extensive collection of Python projects from PyPI, for Nix

Extensive collectionof Python projectsfrom the Python Packaging Index.That can be installed with the Nix package manager. Checkout the projects folder,each entry represents a project and its available versions. For example: Project: awscli and version: 1.20.31, or Project: requests and version 2.26.0 If you want to refer to the latest version available you can do it: Project: awscli and version latest, or Project: requests and version: latest If you want to only use the binaries of a projectyou can install them […]

Read more
1 506 507 508 509 510 973