Giter Club home page Giter Club logo

sparse-double-descent's People

Contributors

he-zh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

davidfanzz

sparse-double-descent's Issues

TypeError: Cannot create a consistent method resolution order (MRO) for bases ABC, Module

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.