Generate malicious files using recently published homoglyphic-attack

Generate malicious files using recently published homoglyph-attack vulnerability, which was discovered at least in C, C++, C#, Go, Python, Rust, JS, … Cite from cve.mitre.org An issue was discovered in the character definitions of the Unicode Specification through 14.0. The specification allows an adversary to produce source code identifiers such as function names using homoglyphs that render visually identical to a target identifier. Adversaries can leverage this to inject code via adversarial identifier definitions in upstream software dependencies invoked deceptively […]

Read more

Revisiting Discriminator in GAN Compression: A Generator-discriminator Cooperative Compression Scheme

Overview Prerequisites Linux Python 3 CPU or NVIDIA GPU + CUDA CuDNN Getting Started Installation Please type the command pip install -r requirements.txt to install dependencies. Data preparation cityscapes horse2zebra celeb Coco, Set5, Set14, B100, Urban100 Pretrained Model We provide a list of pre-trained models in link. Pre-Training For Pruning Run the following script to pretrain a pix2pix on cityscapes dataset for generator pruning,all scripts for sagan, cyclegan, pix2pix, srgan can be found in    

Read more

Python IDE or notebook to generate a basic Kepler.gl data visualization

geospatial-data-analysis [readme] Use this code in your Python IDE or notebook to generate a basic Kepler.gl data visualization, without pre-configurations Config for map must be added to notebook for easier viewing, and sharing of final map See Kepler.gl docs for how to add your configurations. Docs: https://docs.kepler.gl/docs/keplergl-jupyter Demo app: https://docs.kepler.gl/examples/demo-app GitHub View Github    

Read more

Generate thousands of NFTs in Python

NFT-Generator is the best way to generate thousands of NFTs quick and easily with Python. Just add your files, set your configuration and run the script. You’ll get all the images and metadata required for your NFT project! How to use? Clone the repo by running git clone https://github.com/itshydrone/NFT-Generator.git Enter the downloaded directory by typing cd NFT-Generator Install the dependencies by running pip install -r requirements.txt Add all your layer files in the ‘traits’ folder. They should be separated in […]

Read more

Aiohttp admin is generator for admin interface based on aiohttp

Aiohttp admin Demo site | Demo source code. The aiohttp admin is a library for build admin interface for applications based on the aiohttp. With this library you can ease to generate CRUD views for your data (for data storages which support by aiohttp admin) and flexibly customize representation and access to these. Installation The first step which you need to do it’s installing library pip install aiohttp_admin2    

Read more

A benchmark for concept generalization

Code repository for the ImageNet-CoG Benchmark introduced in the paper “Concept Generalization in Visual Representation Learning” (ICCV 2021). It contains code for reproducing all the experiments reported in the paper, as well as instructions on how to evaluate any custom model on the ImageNet-CoG Benchmark. @InProceedings{sariyildiz2021conceptgeneralization, title={Concept Generalization in Visual Representation Learning}, author={Sariyildiz, Mert Bulent and Kalantidis, Yannis and Larlus, Diane and Alahari, Karteek}, booktitle={International Conference on Computer Vision}, year={2021} } Contents of the Readme file: Installation We developed the […]

Read more

A python program to generate ANSI art from images and videos

A python program that creates ASCII art (with true color support if enabled) from images and videos Dependencies The program runs using python3The following python packages are used in the program: opencv-python Pillow numpyThese packages can be installed using any package manager for python like pip, conda, etc. A Demo Below is a GIF file (of lesser quality than the original screen-capture) showing the output on a true-color terminal Usage Navigate to the directory of the python script and run […]

Read more

Generate textual reports from the BibTeX files

Generate report for the given bibtex file. For use: python -m venv venv source venv/bin/activate pip install –upgrade pip pip install https://github.com/igordejanovic/textx-bibtex/archive/refs/heads/master.zip pip install https://github.com/igordejanovic/textx-gen-bibtex-report/archive/refs/heads/main.zip For development: git clone [email protected]:igordejanovic/textx-gen-bibtex-report.git cd textx-gen-bibtex-report python -m venv venv source venv/bin/activate pip install –upgrade pip pip install https://github.com/igordejanovic/textx-bibtex/archive/refs/heads/master.zip pip install -e .[dev,test] Note: for zsh escape [] -> pip install -e .[dev,test] To generate a report from file my.bib:

Read more

A Theoretical Analysis of the Repetition Problem in Text Generation

This repository share the code for the paper “A Theoretical Analysis of the Repetition Problem in Text Generation” in AAAI 2021. The repetition problem has been observed in nearly all text generation models. We theoretically prove that this problem is, unfortunately, caused by the traits of our language itself. There exists too many words predicting the same word as the subsequent word with high probability. Consequently, it is easy to go back to that word and form repetitions. We dub […]

Read more

A python based NFT generator which programatically generates unique images using weighted layer files

nft-generator-py is a python based NFT generator which programatically generates unique images using weighted layer files. The program is simple to use, and new layers can be added by adding a new layer object and adding names, weights, and image files to the object. You can View The Demo here. How it works A call to generate_unique_images(amount, config) is made, which is the meat of the application where all the processing happens. The config object is read and for each […]

Read more
1 3 4 5 6