Implementation of some unbalanced loss like focal_loss, dice_loss, DSC Loss, GHM Loss et.al

Implementation of some unbalanced loss for NLP task like focal_loss, dice_loss, DSC Loss, GHM Loss et.al Summary Here is a loss implementation repository included unbalanced loss How to use? You can find all the loss usage information in test_loss.py. Here is a simple demo of usage: import torch from unbalanced_loss.focal_loss import MultiFocalLoss batch_size, num_class = 64, 10 Loss_Func = MultiFocalLoss(num_class=num_class, gamma=2.0, reduction=

Read more

A Minimal Example of Isaac Gym with DQN and PPO

This repository provides a minimal example of NVIDIA’s Isaac Gym, to assist other researchers like me to quickly understand the code structure, to be able to design fully customised large-scale reinforcement learning experiments. The example is based on the official implementation from the Isaac Gym’s Benchmark Experiments, for which we have followed a similar implementation on Cartpole, but with a minimal number of lines of code aiming for maximal readability, and without using any third-party RL frameworks. Note: The current […]

Read more

Script to generate markdown of API endpoints which then can be used to produce visual mindmap

Script to generate markdown of API endpoints which then can be used to produce visual mindmap to give a nice overview of the target. Supports txt as well as Burp xml as input. Why? After watching the bug bounty space develop and grow from the side I never noticed any such tool that visualizes the API by its endpoints and makes the researchers life easier to for example document APIs. Recently when I confronted a domain which had multiple big […]

Read more

Python scripts for performing 6D pose estimation and shape reconstruction using the CenterSnap model in ONNX

Python scripts for performing 6D pose estimation and shape reconstruction using the CenterSnap model in ONNX The original model has not been officially released, therefore, there might be changes to the official model later on. The examples seem to not properly work when using a camera other than the one in the original dataset. This is probably due to an implementation mistake on this repository, if you find the issue, please submit an issue or PR. The model only works […]

Read more

Python source code, that helps you to check for all weights of a font which is hosted in a website

This is python source code, that helps you to check for all weights of a font which is hosted in a website. Read the instructions, to learn how to use it. Screenshot Instructions Downloas and install Termux from here Run codes below in Termux: pkg install python pip install requests termux-setup-storage cd /path/to/code python Font-Downloader.py In the first input, you need to enter the font file url that you’ve found, but without weight name and foemat name (this method will […]

Read more

Rig Builder: An easy to use ui maker for python scripts. Mostly used in Maya rigging

Rig Builder is a flexible UI maker for python scripts. Mostly used in Maya rigging but can be adapted for any other purposes. How to run Add rigBuilder folder to your script path and run the following: import rigBuilder rigBuilder.mainWindow.show() File structure Name Description modules All modules in xml qss Dark style utils Utilities such as yapf for python formatting widgets Attribute widgets classes.py Definition of the two main classes: Attribute and Module editor.py Python code editor templateWidgets.py Widgets set […]

Read more

Python script to check if your kernel is vulnerable to Dirty pipe CVE-2022-0847

Python script to check if your kernel is vulnerable to Dirty pipe CVE-2022-0847 You can execute directly the script on your system and it will find your kernel version But you can execute the script with as argument a kernel version to check (3 digit kernel version, like 5.10.103) ./check-dirty-pipe.py 5.10.103 and it will print if this version is vulnerable or not:Is your system vulnerable to CVE: False GitHub View Github    

Read more
1 2 3 4 18