https://bentoml.com logo
Join Slack
Powered by
# announcements
  • s

    suhas

    12/14/2019, 7:41 AM
    sentiment_lr = Pipeline([ ('count_vect', CountVectorizer(min_df = 100, ngram_range = (1,1), stop_words = 'english')), ('lr', LogisticRegression())]) sentiment_lr.fit(dftrain.text, dftrain.polarity) 12/14/2019 073927 AM INFO: Cell raised uncaught exception: --------------------------------------------------------------------------- MemoryError Traceback (most recent call last) <ipython-input-6-708336cd9e69> in <module> 4 stop_words = 'english')), 5 ('lr', LogisticRegression())]) ----> 6 sentiment_lr.fit(dftrain.text, dftrain.polarity)
  • c

    Chaoyu

    12/14/2019, 7:44 AM
    what's your sklean version?
  • c

    Chaoyu

    12/14/2019, 7:45 AM
    I think we haven't tested our code with the latest version of sklearn
  • s

    suhas

    12/14/2019, 7:46 AM
    scipy>=0.17.0
  • c

    Chaoyu

    12/14/2019, 7:47 AM
    scikit-learn version?
  • c

    Chaoyu

    12/14/2019, 7:47 AM
    it should work with 0.21.3
  • s

    suhas

    12/14/2019, 7:53 AM
    scikit-learn (0.22)
  • c

    Chaoyu

    12/14/2019, 7:57 AM
    yup, I think our example currently don't work with 0.22, we plan to update soon
  • c

    Chaoyu

    12/14/2019, 7:57 AM
    if you downgrade to 0.21.3, those examples should all work
  • s

    suhas

    12/14/2019, 7:57 AM
    ok thanks will try to downlgrade and check
    👍 1
  • s

    Slackbot

    12/14/2019, 8:00 AM
    This message was deleted.
    c
    • 2
    • 1
  • s

    suhas

    12/14/2019, 8:00 AM
    i downgraded and check, same error again
  • c

    Chaoyu

    12/14/2019, 8:36 AM
    Actually I just tested with sklearn 0.22, the example still works.
  • s

    suhas

    12/19/2019, 7:43 AM
    Copy code
    ---------------------------------------------------------------------------
    OSError                                   Traceback (most recent call last)
    <ipython-input-20-b5bd46a7bad0> in <module>
    ----> 1 get_ipython().system('pip install bentoml')
          2 get_ipython().system('pip install sklearn pandas numpy')
    
    ~/anaconda3/lib/python3.7/site-packages/IPython/core/interactiveshell.py in system_piped(self, cmd)
       2415         # a non-None value would trigger :func:`sys.displayhook` calls.
       2416         # Instead, we store the exit_code in user_ns.
    -> 2417         self.user_ns['_exit_code'] = system(self.var_expand(cmd, depth=1))
       2418 
       2419     def system_raw(self, cmd):
    
    ~/anaconda3/lib/python3.7/site-packages/IPython/utils/_process_posix.py in system(self, cmd)
        154                 child = pexpect.spawnb(self.sh, args=['-c', cmd]) # Pexpect-U
        155             else:
    --> 156                 child = pexpect.spawn(self.sh, args=['-c', cmd])  # Vanilla Pexpect
        157             flush = sys.stdout.flush
        158             while True:
    
    ~/anaconda3/lib/python3.7/site-packages/pexpect/pty_spawn.py in __init__(self, command, args, timeout, maxread, searchwindowsize, logfile, cwd, env, ignore_sighup, echo, preexec_fn, encoding, codec_errors, dimensions, use_poll)
        202             self.name = '<pexpect factory incomplete>'
        203         else:
    --> 204             self._spawn(command, args, preexec_fn, dimensions)
        205         self.use_poll = use_poll
        206 
    
    ~/anaconda3/lib/python3.7/site-packages/pexpect/pty_spawn.py in _spawn(self, command, args, preexec_fn, dimensions)
        301 
        302         self.ptyproc = self._spawnpty(self.args, env=self.env,
    --> 303                                      cwd=self.cwd, **kwargs)
        304 
        305         self.pid = self.ptyproc.pid
    
    ~/anaconda3/lib/python3.7/site-packages/pexpect/pty_spawn.py in _spawnpty(self, args, **kwargs)
        312     def _spawnpty(self, args, **kwargs):
        313         '''Spawn a pty and return an instance of PtyProcess.'''
    --> 314         return ptyprocess.PtyProcess.spawn(args, **kwargs)
        315 
        316     def close(self, force=True):
    
    ~/anaconda3/lib/python3.7/site-packages/ptyprocess/ptyprocess.py in spawn(cls, argv, cwd, env, echo, preexec_fn, dimensions)
        224 
        225         if use_native_pty_fork:
    --> 226             pid, fd = pty.fork()
        227         else:
        228             # Use internal fork_pty, for Solaris
    
    ~/anaconda3/lib/python3.7/pty.py in fork()
         95 
         96     master_fd, slave_fd = openpty()
    ---> 97     pid = os.fork()
         98     if pid == CHILD:
         99         # Establish a new session.
    
    OSError: [Errno 12] Cannot allocate memory
  • s

    suhas

    12/19/2019, 7:43 AM
    when trying to perform !pip install bentoml !pip install sklearn pandas numpy
  • s

    Slackbot

    12/19/2019, 7:44 AM
    This message was deleted.
    c
    • 2
    • 1
  • s

    Slackbot

    04/26/2020, 12:21 PM
    This message was deleted.
    👍 4
    b
    j
    • 3
    • 2
  • j

    jjmachan

    04/26/2020, 12:21 PM
    https://github.com/jjmachan/resnet-bentoml
  • s

    Slackbot

    04/27/2020, 5:11 AM
    This message was deleted.
    j
    • 2
    • 1
  • d

    Dawid Smoleń

    04/29/2020, 4:57 PM
    Hello! I just joined the BentoML workspace so I can ask small, maybe silly questions and not to make mess on github issues. I really liked the idea of BentoML and all the features it supports. Unfortunately, probably serving models in Python directly (using PyTorch) is not sufficient for me. Therefore I'm planning to export my models to ONNX. My question is: after the export to ONNX, BentoML is not supporting the models, right?
  • s

    Slackbot

    04/29/2020, 5:45 PM
    This message was deleted.
    d
    c
    • 3
    • 3
  • c

    Chaoyu

    04/29/2020, 5:46 PM
    We are working a tutorial guide for just that
  • s

    Slackbot

    04/29/2020, 7:03 PM
    This message was deleted.
    j
    c
    • 3
    • 4
  • j

    jjmachan

    05/04/2020, 6:28 AM
    I'm unable to import bentoml 0.7.3
  • s

    Slackbot

    05/04/2020, 6:29 AM
    This message was deleted.
    j
    c
    • 3
    • 12
  • s

    Slackbot

    05/04/2020, 12:23 PM
    This message was deleted.
    b
    d
    • 3
    • 7
  • s

    Slackbot

    05/04/2020, 12:23 PM
    This message was deleted.
    c
    • 2
    • 1
  • s

    Slackbot

    05/05/2020, 2:56 PM
    This message was deleted.
    c
    • 2
    • 1
  • c

    Cameron T

    05/08/2020, 10:57 PM
    Hi 👋
    👋 4
  • c

    Chaoyu

    05/15/2020, 10:06 PM
    set the channel topic: Feel free to introduce yourself and connect with others BentoML developers and users. This channel will also be used for general announcements form BentoML team. Follow us on twitter! https://twitter.com/bentomlai
12345...11Latest