• Stars
    star
    154
  • Rank 240,588 (Top 5 %)
  • Language
    Python
  • License
    MIT License
  • Created over 5 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A minimal pytorch package implementing a gradient reversal layer.

pytorch-revgrad

PyPI version Coverage Status ci status python version License: MIT

This package implements a gradient reversal layer for pytorch modules.

Example usage

import torch

from pytorch_revgrad import RevGrad

model = torch.nn.Sequential(
    torch.nn.Linear(10, 5),
    torch.nn.Linear(5, 2),
    RevGrad()
)

More Repositories

1

superintendent

Practical active learning in python
Python
188
star
2

ipyannotations

Data annotations in python using jupyter notebooks
Python
53
star
3

ssvepy

MNE-compatible package for SSVEP analysis
Python
19
star
4

tobii-psychopy

A package to use Tobii Eyetrackers with psychopy in python
Python
17
star
5

docargs

Check arguments and docstrings
Python
5
star
6

binocular-rivalry

MATLAB
5
star
7

torch-hypothesis

Hypothesis strategies for pytorch
Python
4
star
8

ccn-templates

Templates for CCN conference submissions
TeX
3
star
9

matlab_nbconvert

An exporter for matlab files from jupyter notebooks
Python
2
star
10

shiny-bootstrap

A shiny visualisation of bootstrapping.
R
2
star
11

cookiecutter-healthy-brain

A template for downloading & using the healthy brain network data
Jupyter Notebook
2
star
12

gaze-perception-ssvep

Similar to face-perception-ssvep, with shifting gaze patterns
MATLAB
2
star
13

rivalry-simulation

Experiment in which smooth and sudden transitions of binocular rivalry are simulated to test motor and decision performance.
MATLAB
1
star
14

pot-stats-shiny

shiny stats for mods de
R
1
star
15

tobii-for-matlab

Functions that let you use a Tobii scanner with matlab
MATLAB
1
star
16

rivalry-adaptation

Adaptation effects in rivalry - trialbased rivalry experiment
MATLAB
1
star
17

rivalry-eeg-gaussian-process

Jupyter Notebook
1
star
18

non-linear-frequencies

Testing non-linear frequencies in SSVEP EEG data & modelling it
Jupyter Notebook
1
star
19

binoc-ssvep

Experiment for binocular rivalry with SSVEP
MATLAB
1
star
20

factorial-anova

A shiny app visualising a 2x2 factorial anova
R
1
star
21

healthy-brain-eeg

eeg analyses for data from the healthy brain data set
Jupyter Notebook
1
star
22

confidence-interval-simulation

Shiny Visualisation of CIs
R
1
star