MixRNet(Using mixup as regularization and tuning hyper-parameters for ResNets)

MixRNet(Using mixup as regularization and tuning hyper-parameters for ResNets) Using mixup data augmentation as reguliraztion and tuning the hyper parameters of ResNet 50 models to achieve 94.57% test accuracy on CIFAR-10 Dataset. Link to paper network error % resnet-50 6.97 resnet-110 6.61 resnet-164 5.93 resnet-1001 7.61 This method 5.43 Overview Change the wandb api key to valid api key. Python 3.8 and pytorch 1.9 (works on older versions as well) main.py is to train model sweep.py and sweep_config.py are for […]

Read more

HSPICE can not perform Monte Carlo (MC) simulations while considering aging effects

HSPICE can not perform Monte Carlo (MC) simulations while considering aging effects. I developed a python wrapper that automatically performs MC and aging simulations using HPSICE to save engineering hours. windows or linux python3 hspice Step1: Parses the spice file and reads the distribution and monte parameters Removes the distribution and monte parameters For example if monte parameter was 10, it creates 10 versions of the given spice filebut with width and length values changed according to the distributions it […]

Read more

Attack SQL Server through gopher protocol

usage: main.py [-h] –username USERNAME –password PASSWORD –database DATABASE –query QUERY Attack SQL Server through gopher protocol optional arguments: -h, –help show this help message and exit –username USERNAME, -u USERNAME mssql username –password PASSWORD, -p PASSWORD mssql password –database DATABASE, -d DATABASE mssql database name –query QUERY, -q QUERY mssql sql query statement    

Read more

Blazingly-fast , rock-solid, local application development with Kubernetes

Gefyra gives Kubernetes-(“cloud-native”)-developers a completely new way of writing and testing their applications.Over are the times of custom Docker-compose setups, Vagrants, custom scrips or other scenarios in order to develop (micro-)servicesfor Kubernetes. Gefyra offers you to: run services locally on a developer machine operate feature-branches in production-like Kubernetes environment with all adjacent services write code in the IDE you already love, be fast, be confident leverage all the neat development features, such as debugger, code-hot-reloading, override environment variables run high-level […]

Read more

Quick WAF paranoid Doctor Evaluation

WAFPARAN01D3 The Web Application Firewall Paranoia Level Test Tool. — From alt3kx.github.io Introduction to Paranoia Levels In essence, the Paranoia Level (PL) allows you to define how aggressive the Core Rule Set is. Reference: https://coreruleset.org/20211028/working-with-paranoia-levels/ How it works The wafparan01d3.py python3 script takes malicious requests using encoded payloads placed in different parts of HTTP requests based on GET parameters, The results of the evaluation are recorded in the report debug file wafparan01d3.log created on your machine. Observe the behavior and […]

Read more

It’s About Time: Analog clock Reading in the Wild

Code repository for “It’s About Time: Analog clock Reading in the Wild” Packages required:pytorch (used 1.9, any reasonable version should work), kornia (for homography), einops, scikit-learn (for RANSAC), tensorboardX (for logging) Using pretrained model: prediction python predict.py will predict on your data (or by default, whatever is in data/demo). This does assume the images being already cropped, we use CBNetv2. (you could instead add something like a yolov5 to the code if you prefer not installing anything extra). evaluation python […]

Read more

ProtoAttend: Attention-Based Prototypical Learning

Authors: Sercan O. Arik and Tomas Pfister Paper: Sercan O. Arik and Tomas Pfister, “ProtoAttend: Attention-Based Prototypical Learning”Link: https://arxiv.org/abs/1902.06292 We propose a novel inherently interpretable machine learning method that bases decisions on few relevant examples that we call prototypes. Our method, ProtoAttend, can be integrated into a wide range of neural network architectures including pre-trained models. It utilizes an attention mechanism that relates the encoded representations to samples in order to determine prototypes. The resulting model outperforms state of the […]

Read more

A API project made with Django, and without Django REST framework

This is a API project made with Django, and without Django REST framework. This project was done with: How to run project? Clone this repository. Create virtualenv with Python 3. Active the virtualenv. Install dependences. Run the migrations. git clone https://github.com/rg3915/django-api-without-drf.git cd django-api-without-drf python -m venv .venv source .venv/bin/activate pip install -r requirements.txt python contrib/env_gen.py python manage.py migrate python manage.py createsuperuser –username=”admin” –email=”” endpoints

Read more

Script that performs the identification of all logins and passwords of the wifis connected to a machine and sends the data to a specified email

Script que realiza a identificação de todos os logins e senhas dos wifis conectados em uma máquina e envia os dados para um e-mail especificado. Instalação Para configurar o sistema para desenvolvimento em sua máquina local, siga as instruções abaixo: Clone o repositório para sua máquina git clone https://github.com/vmeazevedo/getWIFIConnection Realize a alteração do e-mail do remetente e destinatário e também a inclusão do token de validação do email. Execute o arquivo python getWifiConnection.py. Exemplo GitHub View Github    

Read more

Astro Bot With Golang

Features: Astronomy Picture of the day Horoscope People In Space How we built it Our team was broken, one person didn’t do anything the other sent copied code, so in the last two hours I learnt discord.py and built this bot, and my team memeber miffy provided the icon for the avatar of the bot, which she had drawn herself. Challenges I faced while coding 2 hours of time and a new library I had no info about how to […]

Read more
1 367 368 369 370 371 943