https://github.com/chenliu-1996/blaschkenetwork

https://github.com/chenliu-1996/blaschkenetwork

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.8%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: ChenLiu-1996
  • Language: Python
  • Default Branch: main
  • Size: 12.9 MB
Statistics
  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 1 year ago · Last pushed 12 months ago
Metadata Files
Readme

README.md

Blaschke Network

Background

Relevant papers for Blaschke decomposition: 1. Multiscale decompositions of Hardy spaces. 2. On Complex Analytic tools, and the Holomorphic Rotation methods. 3. Nonlinear Phase Unwinding of Functions

Our analytical decomposition was based on: Carrier frequencies, holomorphy and unwinding and adapted from the official MATLAB codebase.

Preparation

Environment

We developed the codebase in a miniconda environment. Tested on Python 3.9.13 + PyTorch 1.12.1. How we created the conda environment: conda create --name bnet pytorch==2.1.0 torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia -c anaconda -c conda-forge -y conda activate bnet conda install -c anaconda scikit-image pillow matplotlib seaborn tqdm -y python -m pip install tinyimagenet python -m pip install phate python -m pip install einops python -m pip install wfdb python -m pip install numpy==1.26

Dataset

(1D) PTB-XL

The PTB-XL ECG dataset consisting four subsets can be downloaded here.

wget -O data/ptbxl.zip https://physionet.org/static/published-projects/ptb-xl/ptb-xl-a-large-publicly-available-electrocardiography-dataset-1.0.3.zip Unzip and rename the folder as PTBXL.

(1D) CSN

The CSN(Chapman-Shaoxing-Ningbo) ECG dataset can be downloaded here.

wget -O data/csn.zip https://physionet.org/static/published-projects/ecg-arrhythmia/a-large-scale-12-lead-electrocardiogram-database-for-arrhythmia-study-1.0.0.zip Unzip and rename the folder as CSN.

(2D) MNIST, CIFAR, STL

Most 2D image datasets (MNIST, CIFAR-10, CIFAR-100, STL-10) can be directly downloaded via the torchvision API as you run the training code. However, for the following datasets, additional effort is required.

(2D) ImageNet data

NOTE: In order to download the images using wget, you need to first request access from http://image-net.org/download-images. ``` cd data/ mkdir imagenet && cd imagenet wget https://image-net.org/data/ILSVRC/2012/ILSVRC2012imgtrain.tar wget https://image-net.org/data/ILSVRC/2012/ILSVRC2012imgval.tar wget https://image-net.org/data/ILSVRC/2012/ILSVRC2012devkitt12.tar.gz

The following lines are instructions from Facebook Research. https://github.com/facebookarchive/fb.resnet.torch/blob/master/INSTALL.md#download-the-imagenet-dataset.

mkdir train && mv ILSVRC2012imgtrain.tar train/ && cd train tar -xvf ILSVRC2012imgtrain.tar find . -name "*.tar" | while read NAME ; do mkdir -p "${NAME%.tar}"; tar -xvf "${NAME}" -C "${NAME%.tar}"; rm -f "${NAME}"; done cd ..

mkdir val && mv ILSVRC2012imgval.tar val/ && cd val && tar -xvf ILSVRC2012imgval.tar wget -qO- https://raw.githubusercontent.com/soumith/imagenetloader.torch/master/valprep.sh | bash

```

Owner

  • Name: Chen Liu
  • Login: ChenLiu-1996
  • Kind: user
  • Location: New Haven
  • Company: Yale University

CS PhD student at @KrishnaswamyLab, @YaleUniversity. Reviewing Committee member at NeurIPS, ICLR, ICML.

GitHub Events

Total
  • Watch event: 1
  • Public event: 1
  • Push event: 56
Last Year
  • Watch event: 1
  • Public event: 1
  • Push event: 56