Why Do Self-Supervised Models Transfer? Investigating the Impact of Invariance on Downstream Tasks

This repository contains the official code for the paper Why Do Self-Supervised Models Transfer? Investigating the Impact of Invariance on Downstream Tasks. Requirements This codebase has been tested with the following package versions: python=3.8.8 torch=1.9.0+cu102 torchvision=0.10.0+cu102 PIL=8.1.0 numpy=1.19.2 scipy=1.6.1 tqdm=4.57.0 sklearn=0.24.1 albumentations=1.0.3 Prepare data There are several classes defined in the datasets directory. The data is expected in a directory name data, located on the same level as this repository. Below is an outline of the expected file structure: data/ […]

Read more

Cross-platform lib for process and system monitoring in Python

Summary psutil (process and system utilities) is a cross-platform library for retrieving information on running processes and system utilization (CPU, memory, disks, network, sensors) in Python. It is useful mainly for system monitoring, profiling and limiting process resources and management of running processes. It implements many functionalities offered by classic UNIX command line tools such as ps, top, iotop, lsof, netstat, ifconfig, free and others. psutil currently supports the following platforms: Linux Windows macOS FreeBSD, OpenBSD, NetBSD Sun Solaris AIX […]

Read more

Basic Form Web Development using Python, Django and CSS

Basic Form Web Development using Python, Django and CSS This is a basic project that contains two forms – borrow and donate.The form data includes User’s Details, Book Name, Book Code, etc. The forms data are stored in 2 seperate csv files. The backend of the Forms have been completed. To be noted: Do not pay attention to the front-end as the project was for the Back-end GitHub View Github    

Read more

Assignment1 code for the Web Data Processing System

Web Data Processing System Assignment 1 – 2021 – Group 26 Zhining Bai Bowen Lyu Tianshi Chen Yiming Xu Description This is a Python program to Entity Linking by processing WARC files. We recognize entities from web pages and link them to a Knowledge Base(Wikidata). The pipeline for this program as below: Read WARC Use pyspark to read large-scale warc files, so the program supports parallel computing. Extract text information from HTML files by using beautifulsoup. Named entity recognition Extract […]

Read more

Import and export Grafana dashboards for backup and dynamic provisioning

A simple cli utility for importing or exporting dashboard json definitions using the Grafana HTTP API. This may be useful for: Backing up your dashboards that already exist within your Grafana instance, e.g. if you are migrating from the internal sqlite database to MySQL. Updating dashboard files for your Infrastructure-as-Code, for use with Grafana dashboard provisioning. Making tweaks to dashboard JSON files directly and updating Grafana with one command. Notable features: Mirrors the folder structure between a local set of […]

Read more

A web Scraper for CSrankings.com that scrapes University and Faculty list for a particular country

A web Scraper for CSrankings.com that scrapes University and Faculty list for a particular country To run the file: Open terminal ans installl requiremnts.txt file Run CsRankingUnivList.py in terminal to scrape University data of all countries in the webpage. Run CsRankingFacList.py in terminal that lists Area wise (AI,Systems, InterDisciplinary, Theory) Faculty and thier Google Scholar and DBLP info in folders. Universities of a particualr country are listed in a new worksheet. GitHub View Github    

Read more
1 442 443 444 445 446 1,023