PyTorch Lightning wrapper library for TranAD: Deep Transformer Networks for Anomaly Detection in Multivariate Time Series.
Project description
GPUTranAD
PyTorch Lightning wrapper library for TranAD: Deep Transformer Networks for Anomaly Detection in Multivariate Time Series.
GPU supported.
How to use
from gputranad import setup, TranAD, TranADLitModel
train_dataloader = setup("dataset/P-1_train.npy")
batch_sample = next(iter(train_dataloader))[0]
n_features = batch_sample.shape[-1]
model = TranAD(n_feats=n_features).double()
lit_model = TranADLitModel(model)
trainer = L.Trainer(max_epochs=NUM_EPOCHS)
trainer.fit(lit_model, train_dataloader)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gputranad-0.1.0.tar.gz
(4.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gputranad-0.1.0.tar.gz.
File metadata
- Download URL: gputranad-0.1.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.15.4 CPython/3.12.3 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf172c77bf2aeaec1ab78e5f4b0f5b4082d8fdbd743bd308fabcc801c436d036
|
|
| MD5 |
d1c51458340d72e9543f872a619fbf75
|
|
| BLAKE2b-256 |
8e221f1fd2b58d14e64bb067192679f1e262ccb384ddf868159cda5f04c988cd
|
File details
Details for the file gputranad-0.1.0-py3-none-any.whl.
File metadata
- Download URL: gputranad-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.15.4 CPython/3.12.3 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83e05f320fe88cc0e9951d8130b862c368422b761899c9848af0635c5127d131
|
|
| MD5 |
9030405136ba3f685c08954941f40d99
|
|
| BLAKE2b-256 |
df3b4097f3f2b9064da0b6f4bacb87d9231f1312df0948ab5d026b176f30695c
|