he-zh / sparse-double-descent Goto Github PK
View Code? Open in Web Editor NEWThis framework implements key experiments on the sparse double descent phenomenon (ICML 2022).
License: MIT License
This framework implements key experiments on the sparse double descent phenomenon (ICML 2022).
License: MIT License
When trying to run the first example, the following error appears:
root@saa-l-pc:/home/user/sparse/sparse-double-descent# python main.py lottery --training_steps=160ep --lr=0.1 --milestone_steps=80ep,120ep --gamma=0.1 --rewinding_steps=1000it --de fault_hparams=cifar_pytorch_resnet_18 --levels=30 --random_labels_fraction=0.2 --dataset_name=cifar10 --gpu=0 --fix_all_random_seeds=1
Traceback (most recent call last):
File "/home/user/sparse/sparse-double-descent/main.py", line 13, in
from experiments import runner_registry
File "/home/user/sparse/sparse-double-descent/experiments/runner_registry.py", line 7, in
from training.runner import TrainingRunner
File "/home/user/sparse/sparse-double-descent/training/runner.py", line 9, in
from utils import shared_args
File "/home/user/sparse/sparse-double-descent/utils/shared_args.py", line 10, in
import models.registry
File "/home/user/sparse/sparse-double-descent/models/registry.py", line 12, in
from models import cifar_vgg, mnist_mlp, imagenet_resnet, cifar_pytorch_resnet, tinyimagenet_resnet
File "/home/user/sparse/sparse-double-descent/models/cifar_vgg.py", line 10, in
from pruning import magnitude
File "/home/user/sparse/sparse-double-descent/pruning/magnitude.py", line 10, in
import models.base
File "/home/user/sparse/sparse-double-descent/models/base.py", line 127, in
class DistributedDataParallel(Model, torch.nn.parallel.DistributedDataParallel):
File "/root/miniconda3/lib/python3.9/abc.py", line 106, in new
cls = super().new(mcls, name, bases, namespace, **kwargs)
TypeError: Cannot create a consistent method resolution
order (MRO) for bases ABC, Module
pytorch-1.12.1, torchvision-0.13.1, but the same with older packages.
Thank you in advance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.