修改 Makefile
CC = $(TOOLCHAIN_PREFIX)gcc$(TOOLCHAIN_SUFFIX) -DNO_ASM
CXX = $(TOOLCHAIN_PREFIX)g++$(TOOLCHAIN_SUFFIX) -DNO_ASM
特别适用于 ArchLinux ARM 选手,其他发行版需稍作修改
| #!/usr/bin/env python3 | |
| #coding:utf-8 | |
| # Author: Sg4Dylan --<[email protected]> | |
| # Created: 07/13/2025 | |
| import os | |
| import time | |
| import subprocess | |
| import argparse | |
| import sys |
| from __future__ import absolute_import, division, print_function, unicode_literals | |
| import utils | |
| import glob | |
| import os | |
| import numpy as np | |
| import wandb | |
| import random | |
| import argparse | |
| import librosa | |
| import json |
| FROM ubuntu:24.04 as vivtc-vs-trt10.4 | |
| ARG DEBIAN_FRONTEND=noninteractive | |
| WORKDIR workspace | |
| RUN apt update -y | |
| RUN apt install autoconf libtool nasm ninja-build yasm python3.12 python3.12-venv python3.12-dev python3-pip wget git pkg-config python-is-python3 -y | |
| RUN apt --fix-broken install | |
| RUN pip install meson ninja cython --break-system-packages |
| import os | |
| import json | |
| import re | |
| from datetime import datetime, timedelta | |
| rss_json = '' | |
| for i in os.listdir('.'): | |
| if i.endswith('.json'): | |
| rss_json = i |
| name: 'CI Build' | |
| on: | |
| push: | |
| paths-ignore: | |
| - '**.md' | |
| branches: | |
| - master | |
| - 'release/**' | |
| tags: |
| #!/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 |
| 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='|') |
| // ==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 = []; |