Code Monkey home page Code Monkey logo

neural-ngram's People

Contributors

daandouwe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

cyebukayire

neural-ngram's Issues

ImportError: cannot import name '_sample'

ke.yuan@gpu04:/neural-ngram$ ll sample/
total 1084
drwxrwxr-x 4 ke.yuan ke.yuan 4096 Apr 14 02:32 ./
drwxrwxr-x 7 ke.yuan ke.yuan 4096 Apr 14 02:28 ../
drwxrwxr-x 5 ke.yuan ke.yuan 4096 Apr 14 02:39 build/
-rw-rw-r-- 1 ke.yuan ke.yuan 0 Apr 14 02:32 init.py
drwxrwxr-x 2 ke.yuan ke.yuan 4096 Apr 14 02:32 pycache/
-rw-rw-r-- 1 ke.yuan ke.yuan 908166 Apr 14 02:26 _sample.c
-rwxrwxr-x 1 ke.yuan ke.yuan 174312 Apr 14 02:26 _sample.cpython-36m-darwin.so*
-rw-rw-r-- 1 ke.yuan ke.yuan 1410 Apr 14 02:26 _sample.pyx
-rw-rw-r-- 1 ke.yuan ke.yuan 385 Apr 14 02:26 setup.py
ke.yuan@gpu04:
/neural-ngram$'

ke.yuan@gpu04:~/neural-ngram$ python3 main.py train --name wiki --order 5 --batch-size 128
Traceback (most recent call last):
File "main.py", line 18, in
from softmax import ApproximateLoss
File "/home/ke.yuan/neural-ngram/softmax.py", line 12, in
from sample import _sample
ImportError: cannot import name '_sample'

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.