accel-brain / accel-brain-code

The purpose of this repository is to make prototypes as case study in the context of proof of concept(PoC) and research and development(R&D) that I have written in my website. The main research topics are Auto-Encoders in relation to the representation learning, the statistical machine learning for energy-based models, adversarial generation networks(GANs), Deep Reinforcement Learning such as Deep Q-Networks, semi-supervised learning, and neural network language model for natural language processing.
https://accel-brain.co.jp
GNU General Public License v2.0
310 stars 92 forks source link

MXNetError: GPU is not enabled #27

Closed SarahPeterson2854 closed 2 years ago

SarahPeterson2854 commented 2 years ago

MXNetError: Traceback (most recent call last): File "C:\Jenkins\workspace\mxnet-tag\mxnet\src\ndarray\ndarray.cc", line 1298 MXNetError: GPU is not enabled

accel-brain commented 2 years ago

Read official documents. This is not a school that teaches how to use external libraries.

SarahPeterson2854 commented 2 years ago

Official documents refer to packages that are inconsistent. This has obviously not been tested on a mainstream OS like windows using python. Just pointing out to the future people with the same problem that there is no way to resolve the incompatibility and to not waste their time. The GPU enabling libraries such as mxnet-cu102/92 etc depend on a numpy version that is incompatible with pygan EBGANImageGenerator, GANImageGenerator and EBAAEImageGenerator. Ergo the project is defunct.

SarahPeterson2854 commented 2 years ago

Reproduce: pip install pygan from pygan.ebgan_image_generator import EBGANImageGenerator ebgan_image_generator = EBGANImageGenerator(

list of path to your directories.

dir_list=[
    "/path/to/your/image/files/", 
],
# `int` of image width.
width=128,
# `int` of image height.
height=96,
# `int` of image channel.
channel=1,
# `int` of batch size.
batch_size=40,
# `float` of learning rate.
learning_rate=1e-06,

) ebgan_image_generator.learn(

int of the number of training iterations.

iter_n=100000,
# `int` of the number of learning of the discriminative model.
k_step=10,

)

Will throw gpu not enabled

installing any gpu version for mxnet will then create an incompatibility on windows 10

chimera0 commented 2 years ago

I will take that suggestion into consideration. However, I couldn't reproduce it. And I couldn't find any reason to raise the priority of this issue. The words "windows 10" and "mainstream" don't specify what you mean. It's understandable If you want to say "not maintained" rather than "not been tested".

As with other issues #28, it's tiring to read your post, which just wrote the error log but didn't specify the context(environment settings, entered information, etc.). Unfortunately, it will take some time to respond.