Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions about implementation #9

Open
xiaolou33 opened this issue Oct 5, 2022 · 0 comments
Open

Questions about implementation #9

xiaolou33 opened this issue Oct 5, 2022 · 0 comments

Comments

@xiaolou33
Copy link

Thank you very much for your interesting work.
I am very interested in this work, but I have the following problem when I run the code.
I look forward to receiving your answers.

Traceback (most recent call last):
File "D:\anaconda\envs\torch\lib\runpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, Error)
File "D:\anaconda\envs\torch\lib\runpy.py", line 109, in get_module_details
import(pkg_name)
File "C:\Users\admin\Downloads\deepscm-master (1)\deepscm-master\deepscm\experiments\morphomnist_init
.py", line 3, in
from . import sem_vi # noqa: F401
File "C:\Users\admin\Downloads\deepscm-master (1)\deepscm-master\deepscm\experiments\morphomnist\sem_vi_init
.py", line 1, in
from .base_sem_experiment import SVIExperiment
File "C:\Users\admin\Downloads\deepscm-master (1)\deepscm-master\deepscm\experiments\morphomnist\sem_vi\base_sem_experiment.py", line 16, in
from deepscm.distributions.deep import DeepMultivariateNormal, DeepIndepNormal, Conv2dIndepNormal, DeepLowRankMultivariateNormal
File "C:\Users\admin\Downloads\deepscm-master (1)\deepscm-master\deepscm\distributions\deep.py", line 8, in
from .params import MixtureParams
File "C:\Users\admin\Downloads\deepscm-master (1)\deepscm-master\deepscm\distributions\params.py", line 8, in
from .mixture import Mixture
File "C:\Users\admin\Downloads\deepscm-master (1)\deepscm-master\deepscm\distributions\mixture.py", line 14, in
class Mixture(TorchDistribution, Generic[T]):
TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant