Skip to content

ckiddo74/slt_within_frozen_network

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Partially Frozen Random Networks Contain Compact Strong Lottery Tickets

We search for compact SLTs within frozen networks.

Installation

  • CNN experiment
cd image_classification
conda env create -f requirement.yml
  • GNN experiment
cd node_classification
conda env create -f requirement.yml

Experiments (Example)

  • Conv6 & CIFAR-10 w/ 50% freezing ratio (25% pruning ratio:25% locking ratio)
python3 main.py \
--config configs/cifar10-conv6-global_ep-0.5-epl-p_0.25-r_0.25.yaml \
--dataset_dir "your cifar-10 directory"
  • GIN & OGBN-Arxiv w/ 50% freezing ratio (0% pruning ratio:40% locking ratio)
python3 main.py \
--config ogbn_arxiv-gin_based_net-global_ep-0.2-epl_p_0.0-r_0.4.yaml \
--dataset_dir "your OGBN-Arxiv directory"

Options

Please see utils/parser.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 99.9%
  • Shell 0.1%