Coder Social home page Coder Social logo

Comments (4)

Tanesan avatar Tanesan commented on July 21, 2024

The program is not occurred by min-scoring.
I think it is "pip install mxnet."

from mlm-scoring.

orenpapers avatar orenpapers commented on July 21, 2024

@Tanesan Now I get the error:

    from mlm.scorers import MLMScorer, LMScorer
  File ".mlm-scoring/src/mlm/scorers.py", line 8, in <module>
    import gluonnlp as nlp
  File "./venv_3.8/lib/python3.8/site-packages/gluonnlp/__init__.py", line 23, in <module>
    from . import loss
  File "./venv_3.8/lib/python3.8/site-packages/gluonnlp/loss/__init__.py", line 23, in <module>
    from .activation_regularizer import *
  File "./venv_3.8/lib/python3.8/site-packages/gluonnlp/loss/activation_regularizer.py", line 25, in <module>
    from mxnet.gluon.loss import Loss
  File "./venv_3.8/lib/python3.8/site-packages/mxnet/__init__.py", line 23, in <module>
    from .context import Context, current_context, cpu, gpu, cpu_pinned
  File "./venv_3.8/lib/python3.8/site-packages/mxnet/context.py", line 23, in <module>
    from .base import classproperty, with_metaclass, _MXClassPropertyMetaClass
  File "./venv_3.8/lib/python3.8/site-packages/mxnet/base.py", line 351, in <module>
    _LIB = _load_lib()
  File "./venv_3.8/lib/python3.8/site-packages/mxnet/base.py", line 342, in _load_lib
    lib = ctypes.CDLL(lib_path[0], ctypes.RTLD_LOCAL)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ctypes/__init__.py", line 373, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: dlopen(./venv_3.8/lib/python3.8/site-packages/mxnet/libmxnet.dylib, 6): Symbol not found: ____chkstk_darwin
  Referenced from: ./venv_3.8/lib/python3.8/site-packages/mxnet/libmxnet.dylib
  Expected in: /usr/lib/libSystem.B.dylib
 in ./venv_3.8/lib/python3.8/site-packages/mxnet/libmxnet.dylib
python-BaseException

Any idea? I am using MAC and Python3.8

from mlm-scoring.

Tanesan avatar Tanesan commented on July 21, 2024

I don't know much about it, but this URL may be helpful.
apache/mxnet#5487

from mlm-scoring.

devanshrj avatar devanshrj commented on July 21, 2024

@orko19 I was unable to reproduce your bug on a Mac.

Can you try again by creating a new virtual environment and installing MXNet and PyTorch using the following command?
pip install torch mxnet

from mlm-scoring.

Related Issues (20)

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.