Month: January 2022
Working With Pipenv
Managing multiple Python projects with their own third-party packages can get complicated. It is best practice to use a virtual environment to sandbox the requirements for each of your projects. Enter pipenv, the official recommended package management tool for Python. It handles both installation and virtual environments to help you manage your Python dependencies. In this course, you’ll learn about: How to use pip to install a package Where Python puts packages by default How to use pipenv to create […]
Read moreAugmentation for Single-Image-Super-Resolution
Augmentation for Single-Image-Super-Resolution Implimentation CutBlur Cutout CutMix Cutup CutMixup Blend RGBPermutation Identity OneOf License cf. @solafune(https://solafune.com) コンテストの参加以外を目的とした利用及び商用利用は禁止されています。商用利用・その他当コンテスト以外で利用したい場合はお問い合わせください。() cf. @solafune(https://solafune.com) Use for any purpose other than participation in the competition or commercial use is prohibited. If you would like to use them for any of the above purposes, please contact us. GitHub View Github
Read moreA simple visualization toolbox (script) for transformer attention visualization
This is a super simple visualization toolbox (script) for transformer attention visualization ✌ 1. How to prepare your attention matrix? Just convert it to numpy array like this 👇 # build an attetion matrixs as torch-output like token_num = 6 case_num = 3 layer_num = 2 head_num = 4 attention_map_mhml = [np.stack([make_attention_map_mh(head_num, token_num)]*case_num, 0) for _ in range(layer_num)] # 4cases’ 3 layers attention, with 3 head per layer( 每个case相同) _ = [print(i.shape) for i in attention_map_mhml] “”” >>>(3, 4, 6, […]
Read moreCreate QR Code for link using Python
Quick Response QR is short and named for a quick read from a cell phone. Used to view information from transitory media and put it on your cell phone. To create QR codes with Python you only need to install a Python module. Installation The pyqrcode module is a QR code generator that is simple to use and written in pure python. The module can automates most of the building process for creating QR codes. Most codes can be created […]
Read moreA keylogger based in python which when executed records all the keystrokes of the system it has been executed on
This is a keylogger based in python which when executed records all the keystrokes of the system it has been executed on and sends to your email every 30 secs. Upon executing even if the victim deletes the file it creates a hidden temp folder in the victim’s system and then adds a registry key with a less suspicious name which executes every time upon startup.It has been merged with a pdf,jpg,etc or whatever file they want to merge it […]
Read moreA smart personal companion and health assistant
Steps to Install : Clone the repository Go to ResQ-Sources Execute ResQ-Lite.py –: Manual Controls : DanceRobot.py –: You can call functions like forward,backward manually in this file or Add Keyboard Event-Bindings ResQ Health Companion Under the Supervision of PROF. TUFAN SAHA Department of Computer Science & Engineering Institute of Engineering and Management West Bengal, India November, 2020 As life grows to be fast-paced, the focus on good health habits and provisions on healthcare gets less evident among the people […]
Read moreA Python module that allows you to create and use simple sockets
A Python module that allows you to create and use simple sockets. The easysockets module can be installed using pip. or pip install git+https://github.com/Matthias1590/EasySockets.git You can also install it by cloning this repository and running the following commands: python3 setup.py build python3 setup.py install The easysockets module contains 3 main classes: ServerSocket, ClientSocket and Connection. Below are examples on how to use each of them. ServerSocket:
Read moreMeta Learning Backpropagation And Improving It (VSML)
This is research code for the NeurIPS 2021 publication Kirsch & Schmidhuber 2021. Many concepts have been proposed for meta learning with neural networks (NNs), e.g., NNs that learn to reprogram fast weights, Hebbian plasticity, learned learning rules, and meta recurrent NNs. Our Variable Shared Meta Learning (VSML) unifies the above and demonstrates that simple weight-sharing and sparsity in an NN is sufficient to express powerful learning algorithms (LAs) in a reusable fashion. A simple implementation of VSML where the […]
Read more