pip install psutil pycaw future toml
git clone https://github.com/Freemanium/voicemeeter-remote-python
cd voicemeeter-remote-python
pip install .
Modify line 16 of voicemeeter/remote.py
import os | |
import re | |
import json | |
import urllib | |
import requests | |
import wget | |
from tqdm import tqdm | |
from bs4 import BeautifulSoup | |
# 执行推理用 | |
import numpy as np |
// ==UserScript== | |
// @name NginxAutoindexExporter | |
// @namespace http://tampermonkey.net/ | |
// @version 20180915(0.2) | |
// @description Export link from nginx autoindex to aria2 | |
// @author SgDylan | |
// @match https://example.com/* | |
// @grant none | |
// ==/UserScript== |
# -*- coding:utf-8 -*- | |
""" | |
Convert https://raw.githubusercontent.com/petronny/gfwlist2pac/master/gfwlist.pac for unbound. | |
""" | |
import re | |
with open("gfwlist.conf", 'w') as wp: | |
for line in open("gfwlist.pac"): |
#!/usr/bin/env python | |
#coding:utf-8 | |
# Author: Sg4Dylan --<sg4dylan#gmail.com> | |
# Created: 06/18/2021 | |
import numpy as np | |
from scipy import signal | |
from scipy.io.wavfile import write | |
import librosa | |
import resampy |
// ==UserScript== | |
// @name GoHFS-Exporter | |
// @namespace http://tampermonkey.net/ | |
// @version 2020.10.18(0.1) | |
// @description Export link from Go HFS to aria2 | |
// @author SgDylan | |
// @match https://example.com/* | |
// ==/UserScript== | |
let downloadFileUrl = []; |
import onnx | |
import onnxoptimizer as optimizer | |
onnxfile = 'ONNX_FILE_NAME' | |
onnx_model = onnx.load(f'{onnxfile}.onnx') | |
inputs = onnx_model.graph.input | |
name_to_input = {} | |
for input in inputs: | |
name_to_input[input.name] = input |
#!/usr/bin/env python | |
#coding:utf-8 | |
# Author: Sg4Dylan --<sg4dylan#gmail.com> | |
# Created: 12/31/2018 | |
# ========================================== | |
# Pixiv 图片重命名 | |
# ========================================== | |
# 使用方法: 把待处理的「文件夹」拖放到脚本上 |
import csv | |
''' | |
suit for lifelong-robotic-vision/OpenLORIS-Object 's csv format result | |
every line of csv contains accuracy of every task on test set after training a single task | |
''' | |
raw_result = [] | |
with open('openloris.csv', newline='') as csvfile: | |
spamreader = csv.reader(csvfile, delimiter=' ', quotechar='|') |