semvec/pypi-packages huggingface dataset:
RRAEsTorch 0.1.9
A repo for RRAEs in PyTorch.
License: MIT
Requires Python: >=3.10

# RRAEsTorch

A library that offers same functions as RRAEs (originally in JAX) but in PyTorch.

The RAEDME is copied from RRAEs in the following:

# Welcome

This repository allows users to train and manipulate Equinox models easily, specifically, Autoencoders.

The library provides trainor classes that allow to train Neural Networks in one line using JAX.

It also provides easy ways to do normalization, and vectorization of matrices during training.

There are also pre-built Autoencoder models, specifically Rank Reduction Autoencoders (RRAEs).

# What are RRAEs?

RRAEs or Rank reduction autoencoders are autoencoders include an SVD in the latent space to regularize the bottleneck.

This library presents all the required classes for creating customized RRAEs and training them (other architectures such as Vanilla AEs, IRMAEs and LoRAEs are also available).

Each script is an example of how to train a different model.

To simply train an MLP (from equinox), try [this](general-MLP.py)

To train an RRAE on curves (1D) using an MLP, refer to [this file](main-MLP.py)
To train an RRAE on curves (1D) using an Convolutions, refer to [this file](main-CNN1D.py)
To train an RRAE on images, refer to [this file](main-CNN.py)
To train a VRRAE on images, refer to [this file](main-var-CNN.py)
To train with an adaptive bottleneck size refer to [this](main-adap-MLP.py) and [this] file(main-adap-CNN.py)

For examples of post-processing and what RRAE trainors can do, refer to [this file](post_process.py)

# General instruction for preparing your own data

In RRAEs.utilities, there's a function called get_data that can import many datasets to test.

If you want to generate your own dataset, you will have to define the following:

x_train: Train input (refer to each script to see the shape)

x_test: Test input (refer to each script to see the shape)

p_train: None (if you don't have any parameters, otherwise, 
            these can be used for interpolation in the latent space)
            
p_test: Same as p_train

y_train: = x_train for autoencoders

y_test: = x_test for autoencoders

pre_func_inp: lambda x:x (if not needed, this is a function to be applied
                          on batches if memory is not enough to apply
                          over whole dataset)
                          
pre_func_out: lambda x:x (same as above but for output)

kwargs: {} (any other kwargs you might need)

# Installation

pip install RRAEsTorch

Or to get the newest changes:

pip install git+https://github.com/JadM133/RRAEsTorch.git
aniworld-downloader-v2 0.0.1
Aniworld Downloader V2 for PyPI upload
License: MIT
Requires Python: >=3.8

# Aniworld Downloader V2

Aniworld Downloader V2 for PyPI upload.

## Installation

```bash
pip install aniworld-downloader-v2
```

## Quick Start

CLI:
```bash
aniworld
```

Web UI:
```bash
aniworld --web-ui
```

Then open:
```
http://127.0.0.1:5000
```

## Common Options

```bash
# Start Web UI on a custom port
aniworld --web-ui --web-port 5000

# Download to a custom directory
aniworld --output-dir "C:\\Users\\YourName\\Downloads"

# Choose language and provider
aniworld --language "German Dub" --provider "VOE"

# Download specific episode URLs
aniworld --episode "https://aniworld.to/anime/stream/slug/staffel-1/episode-1"
```

## Notes

- `--web-ui` starts the Flask web interface.
- `--web-expose` binds to `0.0.0.0` for LAN access.
- `--no-browser` prevents auto-opening the browser.