All Projects → vzhong → torchlib

vzhong / torchlib

Licence: other
Data structures, algorithms, and ML/NLP tools in Lua.

Programming Languages

lua
6591 projects
CMake
9771 projects

Projects that are alternatives of or similar to torchlib

yann
Yet Another Neural Network Library 🤔
Stars: ✭ 26 (+18.18%)
Mutual labels:  torch
flambeau
Nim bindings to libtorch
Stars: ✭ 60 (+172.73%)
Mutual labels:  torch
torch-pitch-shift
Pitch-shift audio clips quickly with PyTorch (CUDA supported)! Additional utilities for searching efficient transformations are included.
Stars: ✭ 70 (+218.18%)
Mutual labels:  torch
eccv16 attr2img
Torch Implemention of ECCV'16 paper: Attribute2Image
Stars: ✭ 93 (+322.73%)
Mutual labels:  torch
ALIGNet
code to train a neural network to align pairs of shapes without needing ground truth warps for supervision
Stars: ✭ 58 (+163.64%)
Mutual labels:  torch
torch-dataframe
Utility class to manipulate dataset from CSV file
Stars: ✭ 67 (+204.55%)
Mutual labels:  torch
ThArrays.jl
A Julia interface for PyTorch's C++ backend, focusing on Tensor, AD, and JIT
Stars: ✭ 23 (+4.55%)
Mutual labels:  torch
Cross-View-Gait-Based-Human-Identification-with-Deep-CNNs
Code for 2016 TPAMI(IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE) A Comprehensive Study on Cross-View Gait Based Human Identification with Deep CNNs
Stars: ✭ 21 (-4.55%)
Mutual labels:  torch
vrn-torch-to-keras
Transfer pre-trained VRN model from torch to Keras/Tensorflow
Stars: ✭ 63 (+186.36%)
Mutual labels:  torch
deep-learning-platforms
deep-learning platforms,framework,data(深度学习平台、框架、资料)
Stars: ✭ 17 (-22.73%)
Mutual labels:  torch
inpainting FRRN
Progressive Image Inpainting (Kolmogorov Team solution for Huawei Hackathon 2019 summer)
Stars: ✭ 30 (+36.36%)
Mutual labels:  torch
hypnettorch
Package for working with hypernetworks in PyTorch.
Stars: ✭ 66 (+200%)
Mutual labels:  torch
gan-reverser
Reversing GAN image generation for similarity search and error/artifact fixing
Stars: ✭ 13 (-40.91%)
Mutual labels:  torch
image-background-remove-tool
✂️ Automated high-quality background removal framework for an image using neural networks. ✂️
Stars: ✭ 767 (+3386.36%)
Mutual labels:  torch
WassersteinGAN.torch
Torch implementation of Wasserstein GAN https://arxiv.org/abs/1701.07875
Stars: ✭ 48 (+118.18%)
Mutual labels:  torch
deepgenres.torch
Predict the genre of a song using the Torch deep learning library
Stars: ✭ 18 (-18.18%)
Mutual labels:  torch
sentence2vec
Deep sentence embedding using Sequence to Sequence learning
Stars: ✭ 23 (+4.55%)
Mutual labels:  torch
DeepCD
[ICCV17] DeepCD: Learning Deep Complementary Descriptors for Patch Representations
Stars: ✭ 39 (+77.27%)
Mutual labels:  torch
neural-vqa-attention
❓ Attention-based Visual Question Answering in Torch
Stars: ✭ 96 (+336.36%)
Mutual labels:  torch
Jetson-Nano-image
Jetson Nano image with deep learning frameworks
Stars: ✭ 46 (+109.09%)
Mutual labels:  torch

Torchlib

wercker status codecov

View documentation.

Data structures and libraries for Torch. All instances are Torch serializable with torch.save and torch.load.

Installation

You can install torchlib as follows:

git clone https://github.com/vzhong/torchlib.git && cd torchlib && luarocks make

Torchlib is namespaced locally. To use it:

local tl = require 'torchlib'

local m = tl.DirectedGraph()
...

Examples and use cases are shown in the documentation.

Documentation

The documentation is hosted here. Alternatively you can build your own documentation with docroc, which you can get here.

Overview

Torchlib's can be divided into categories based on usecases.

Basic Datastructures and Algorithms

  • Graphs
  • Lists, heaps, queues and stacks
  • Maps and counters
  • Sets
  • Trees

Machine Learning

The machine learning package contains utilities that facilitate the training of and evaluation of machine learning models. These include:

  • Dataset, which provides mechanisms for subsampling, shuffling, batching of arbitrary examples.
  • Vocab, for mapping between indices and words.
  • Model, an abstract class to facilitate the training of Torch based machine learning models.
  • Scorer, for evaluating precision/recall metrics.
  • ProbTable, for modeling probability distributions.
  • Experiment, for logging experiment progress to a postgres instance.

Utilities

  • Downloader, for downloading content via http.
  • Global, global convenience functions namespaced under tl.
  • String, string convenience functions namespaced under tl.string and monkeypatched into string.
  • Table, table convenience functions namespaced under tl.table and monkeypatched into table.

Contribution

Pull requests are welcome! Torchlib is unit tested with the default Torch testing framework. Continuous integration is hosted on Wercker which also automatically builds the documentations and deploys them on Github pages (of this repo).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].