This repository is an official implementation of the paper "LW-DETR: A Transformer Replacement to YOLO for Real-Time Detection".
关键参数与规格
关键参数与规格
参数
值
语言
C
类别
Models
子类别
Audio/Speech models
关键词
Audio production, Model architecture, Music
星标数
517
分叉数
62
贡献者
2
创建日期
2019-10-06
更新日期
2026-09-07
1 天星标数
0
7 天星标数
0
排名
17,922
上次排名
17,699
排名变化
-223
7 天星标排名
16,372
上次 7 天星标排名
16,382
7 天星标排名变化
10
总星标排名
18,867
上次总星标排名
18,846
总星标排名变化
-21
国家
France
README 摘录
Differentiable Digital Signal Processing Implementation of the DDSP model using PyTorch. This implementation can be exported to a torchscript model, ready to be used inside a realtime environment (see this video). ), then preprocess your data using You can then train your model using Once trained, export it using It will produce a file named , that you can use inside a python environment like that Realtime usage **Be sure that the defined in is a power of 2 if you want
to use the model in realtime! ** If you want to use DDSP in realtime (yeah), we provide a pure data external wrapping everything. Export your trained model using This will disable the reverb and enable the use of the model in realtime. For now the external works on CPU, but you can enable GPU accelerated inference by changing to . The first inlet must be a pitch signal, the second a loudness signal. It can be directly plugged to the object
for real-time timbre transfer. You can then apply the exported impulse response using a convolution reverb (such as from the library). Compilation You will need , a C++ compiler, and somewhere on your computer. Then, run If you already have installed via pip inside a virtual environment, you can use the following : By default, it will install the external in .
Implementation of the DDSP model using PyTorch. This implementation can be exported to a torchscript model, ready to be used inside a realtime environment (see this video).
This will disable the reverb and enable the use of the model in realtime. For now the external works on CPU, but you can enable GPU accelerated inference by changing realtime/ddsp_tilde/ddsp_model.hDEVICE to torch::kCUDA. Inside Pd, simply send load your_model.ts to the ddsp~ object. The first inlet must be a pitch signal, the second a loudness signal. It can be directly plugged to the sigmund~ object for real-time timbre transfer.
You can then apply the exported impulse response using a convolution reverb (such as partconv~ from the bsaylor library).
Compilation
You will need cmake, a C++ compiler, and libtorch somewhere on your computer. Then, run
cd realtime
mkdir build
cd build
cmake ../ -DCMAKE_PREFIX_PATH=/path/to/libtorch -DCMAKE_BUILD_TYPE=Release
make install
If you already have pytorch installed via pip inside a virtual environment, you can use the following PREFIX_PATH:
cmake ../ -DCMAKE_PREFIX_PATH=~/miniconda3/lib/python3.X/site-packages/torch -DCMAKE_BUILD_TYPE=Release
make install
By default, it will install the external in ~/Documents/Pd/externals.