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

trying to import and getting error. My numpy version1.26.4 #30

Open
verma53665 opened this issue Feb 27, 2024 · 0 comments
Open

trying to import and getting error. My numpy version1.26.4 #30

verma53665 opened this issue Feb 27, 2024 · 0 comments

Comments

@verma53665
Copy link

from pygan._mxnet.gan_image_generator import GANImageGenerator

AttributeError Traceback (most recent call last)
Cell In[53], line 2
1 # Import necessary modules from pygan library
----> 2 from pygan._mxnet.gan_image_generator import GANImageGenerator
4 # Set up logger (optional)
5 from logging import getLogger, StreamHandler, DEBUG

File c:\Users\anush\OneDrive\Desktop\defence framework\pythonProjectDefence\lib\site-packages\pygan_mxnet\gan_image_generator.py:2
1 # -- coding: utf-8 --
----> 2 from accelbrainbase.computableloss._mxnet.l2_norm_loss import L2NormLoss
3 from accelbrainbase.extractabledata._mxnet.image_extractor import ImageExtractor
4 from accelbrainbase.iteratabledata._mxnet.unlabeled_image_iterator import UnlabeledImageIterator

File c:\Users\anush\OneDrive\Desktop\defence framework\pythonProjectDefence\lib\site-packages\accelbrainbase\computableloss_mxnet\l2_norm_loss.py:3
1 # -- coding: utf-8 --
2 from accelbrainbase.computable_loss import ComputableLoss
----> 3 from mxnet.gluon.loss import Loss
4 from mxnet.gluon.loss import _reshape_like, _apply_weighting
7 class L2NormLoss(Loss, ComputableLoss):

File c:\Users\anush\OneDrive\Desktop\defence framework\pythonProjectDefence\lib\site-packages\mxnet_init_.py:33
30 # version info
31 version = base.version
---> 33 from . import contrib
...
---> 27 from .utils import * # pylint: disable=wildcard-import
28 from .function_base import * # pylint: disable=wildcard-import
29 from .stride_tricks import * # pylint: disable=wildcard-import

AttributeError: module 'mxnet.numpy.utils' has no attribute 'bool'

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