semvec/pypi-packages huggingface dataset:
pytorch-iga 0.0.3
A pytorch model training protocol for environment invariant deployment
License: MIT
Requires Python: >=3.7
Keywords: one,two

This is a PyTorch implementation of the Inter-environmental Gradient Alignment algorithm proposed by Koyama and Yamaguchi in their paper [Out-of-Distribution Generalization
with Maximal Invariant Predictor](https://arxiv.org/pdf/2008.01883v1.pdf)

## Quick start
Install pytorch-iga in the terminal:
```bash
pip install pytorch-iga
```

Import IGA in python:

```python
from iga import IGA
```

IGA is defined with the following parameters:

```python
IGA(model, optimizer, criterion, data, num_epochs, batch_size, lamda, verbose=10, device=torch.device("cuda" if torch.cuda.is_available() else "cpu"),
)
```

Parameters:
>    model (torch.nn.Module): neural network model to be trained/tuned
    optimizer (torch.optim): pytorch optimizer object such as torch.optim.SGD
    criterion (function): loss function for model evaluation
    data (list(torch.utils.Dataset)): a list of Datasets for each environment
    num_epochs (int): number of training epochs
    batch_size (int): number of data points per batch
    lamda (float): importance weight of inter-environmental variance
    verbose (int): number of iterations in each progress log
    device (torch.device): optional, torch.device object, defaults to 'cuda' or 'cpu'

Returns:
>    model (torch.nn.Module): updated torch model
    IGA_loss (float): ending loss value
    
## Example
to be continued...
django-ipghrms-attendance 1.8
Django IPG HRMS APP
License: MIT


============================
Django IPG HRMS attendance
============================


Quick start
============


1. Add 'attendance' to your INSTALLED_APPS settings like this::

    INSTALLED_APPS = [
        'attendance'
    ]

2. Include the attendance to project URLS like this::

    path('attendance/', include('attendance.urls')),

3. Run ``python manage.py migrate`` to create attendance model

4. Another Apps Need for this Apps:
    4.1. custom
    4.2. employee
    4.3. user