Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #35618
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!cs.uu.nl!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.014 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'see.': 0.07; "object's": 0.09; 'objects.': 0.09; 'subject:module': 0.09; 'static': 0.13; 'dec': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'values?': 0.16; 'wrote:': 0.17; 'instance': 0.17; 'load': 0.19; 'code.': 0.20; 'assumes': 0.22; 'header:In-Reply-To:1': 0.25; 'thanks!': 0.26; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; "doesn't": 0.28; 'pickle': 0.29; 'case,': 0.29; 'class': 0.29; 'fri,': 0.30; 'train': 0.30; 'problem.': 0.32; 'to:addr :python-list': 0.33; 'received:google.com': 0.34; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'but': 0.36; 'data.': 0.36; 'received:209': 0.37; 'data': 0.37; 'subject:: ': 0.38; 'object': 0.38; 'sure': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'save': 0.61; 'ever': 0.63; 'content,': 0.65; 'pickled': 0.84; 'trained': 0.95 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=1z62/153xJ6wcsePyP8Sb6+wMX5zwUW8GwThtwQByXk=; b=bhiXMv/0wvaNZvdzwXSViUd51i4VKAcobkoP3/2ByYj1oDo5hWU30Yltixi3VctYwj x9Jp1XvbbhtN26Tcg6ufU7aSizVpNRBMZbiJJlZzxs61Sv93NLcr9XYWgN7Jm2Oh3H9f XQzF0fDjW015h2iz3oRAJzcqFvtzR2qaOovu8xmm2Sw2VvlnoNEIn8jJNVIw/V8E82W/ h56lg/RZlt/sjSAvftIeqspWUcXfkuBmKTlByqXKqfb8qHgcEAFDf/fqn28vAWOKYdSJ 2W4xfPfsr4MYOSlRzduglXDsTZTns9soHA7jWuzAEEtfcbLzuJLbidBsjMcy4ZdFp+mB rLXA== |
| MIME-Version | 1.0 |
| In-Reply-To | <5258c759-3632-4e96-b5b4-21def3f3c6c3@googlegroups.com> |
| References | <ee10f0f7-7713-4879-82a1-ec5804767af6@googlegroups.com> <mailman.1339.1356607732.29569.python-list@python.org> <f6ea95c2-2448-4f93-8aa4-e4e2aeb731ba@googlegroups.com> <mailman.1341.1356611938.29569.python-list@python.org> <5258c759-3632-4e96-b5b4-21def3f3c6c3@googlegroups.com> |
| Date | Fri, 28 Dec 2012 00:20:43 +1100 |
| Subject | Re: pickle module doens't work |
| From | Chris Angelico <rosuav@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1344.1356614452.29569.python-list@python.org> (permalink) |
| Lines | 12 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1356614452 news.xs4all.nl 6979 [2001:888:2000:d::a6]:59297 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:35618 |
Show key headers only | View raw
On Fri, Dec 28, 2012 at 12:16 AM, Omer Korat <animus.partum.universum@gmail.com> wrote: > I see. In that case, all I have to do is make sure NLTK is available when I load the pickled objects. That pretty much solves my problem. Thanks! > So it means pickle doesn't ever save the object's values, only how it was created? > > Say I have a large object that requires a lot of time to train on data. It means pickle doesn't save its values, so you have to train it every time anew? Is there no way to save its trained values? It'll save instance data but not class data or code. So it'll save all that content, and it assumes that class data is either static or will be recreated appropriately during unpickling. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
pickle module doens't work Omer Korat <animus.partum.universum@gmail.com> - 2012-12-27 02:46 -0800
Re: pickle module doens't work Peter Otten <__peter__@web.de> - 2012-12-27 12:29 +0100
Re: pickle module doens't work Omer Korat <animus.partum.universum@gmail.com> - 2012-12-27 04:05 -0800
Re: pickle module doens't work Dave Angel <d@davea.name> - 2012-12-27 07:34 -0500
Re: pickle module doens't work Omer Korat <animus.partum.universum@gmail.com> - 2012-12-27 05:16 -0800
Re: pickle module doens't work Chris Angelico <rosuav@gmail.com> - 2012-12-28 00:20 +1100
Re: pickle module doens't work Omer Korat <animus.partum.universum@gmail.com> - 2012-12-27 05:16 -0800
Re: pickle module doens't work Tim Roberts <timr@probo.com> - 2012-12-28 21:41 -0800
Re: pickle module doens't work Omer Korat <animus.partum.universum@gmail.com> - 2013-01-01 06:33 -0800
Re: pickle module doens't work Tim Roberts <timr@probo.com> - 2013-01-01 11:14 -0800
Re: pickle module doens't work Omer Korat <animus.partum.universum@gmail.com> - 2013-01-02 06:08 -0800
Re: pickle module doens't work Terry Reedy <tjreedy@udel.edu> - 2012-12-27 16:19 -0500
Re: pickle module doens't work Omer Korat <animus.partum.universum@gmail.com> - 2012-12-27 04:05 -0800
csiph-web