Wire
wavelet implicit neural representations
Install / Use
/learn @vishwa91/WireREADME
WIRE: Wavelet Implicit Neural Representations

Paper: https://arxiv.org/abs/2301.05187
Instructions
Data
Download image and occupancy examples from here. Place it in path/to/this/folder/data/.
Requirements
check requirements.txt. This code was tested on python 3.8 in both Windows and Linux environments. Requirements file generated in Linux environment but should work similarly in a Windows environment.
Denoising images with WIRE
Check wire_image_denoise.py for denoise an image. We have included an example image from div2k in data/parrot.png.
Representing pointclouds with WIRE
Check wire_occupancy.py for fitting a 3D shape with occupancy information. For simplicity, we have included occupancy volume of Thai statue with regular sampling over 512x512x512 cube.
Multi-image super-resolution with WIRE
Check wire_multi_sr.py for performing super-resolution with multiple images captured with small motion between the frames. We have included an example image data/kodak.png for this script.
Computed tomographic reconstruction with WIRE
Please check wire_ct.py for reconstructing images from computed tomographic measurements. We have included an example image data/chest.png.
Information about individual files
-
wire_image_denoise.py: Runs training script for a single image -
wire_occupancy.py: Runs training script for a uniformly sampled occupancy of a 3D shape -
wire_multi_sr.py: Runs training script for solving multi-image super-resolution -
wire_ct.py: Runs training script for solving the computed tomography problem -
requirements.txt: All requirements for running scripts in this folder -
modules: Contains functions to run the training scripts:a.
lin_inverse.py: Includes forward operator for computed tomographyb.
motion.py: Contains functions for handling multi-image super resolution data generationc.
models.py: Common wrapper to instantiate all INR modelsd.
utils.py: Miscellaneous utilitiese.
volutils.py: Utilities for handling volume signalsf.
wire.py: Contains definitions for implementing WIRE.g.
wire2d.py: Contains definition for 2d wire as shown in section 4.4 in the main paper.h.
mfn.py: Contains multiplicative frequency networks implementation by the authors of the original paperi.
relu.py: Contains relu and positional encoding implementationj.
siren.py: Contains original implementation of SIRENk.
gauss.py: Contains implementation of Gaussian nonlinearity
Cite
@inproceedings{saragadam2022wire,
title={WIRE: Wavelet Implicit Neural Representations},
author={Saragadam, Vishwanath and LeJeune, Daniel and Tan, Jasper and Balakrishnan, Guha and Veeraraghavan, Ashok and Baraniuk, Richard G},
booktitle={arXiv preprint arXiv:2301.05187}
year={2022}
}
Related Skills
node-connect
336.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
336.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.0kCommit, push, and open a PR
