Giter VIP home page Giter VIP logo

Comments (4)

rbharath avatar rbharath commented on August 15, 2024

A MemoryError means python is running out of memory. That may be an
artifact of the machine not having enough memory at the moment.

On Sun, Mar 2, 2014 at 12:45 AM, gkiss [email protected] wrote:

/g/g90/kiss2/Progs/Python2.7/bin/python2.7 /g/g90/kiss2/mixtape-master/scripts/hmsm means-ghmm -i ../hmms.jsonlines --featurizer ../features_rmsd.dat --n-states 7 --n-per-state 20 --lag-time 100 -o rmsd_HMM_7states_20struct.csv --dir "../../Trajectories" --ext lh5 --top ../../2g2z_TetInt_TIP3P_300Wat.pdb

Most often gives a MemoryError

Traceback (most recent call last):
File "/g/g90/kiss2/mixtape-master/scripts/hmsm", line 8, in
app.start()
File
"/g/g90/kiss2/Progs/Python2.7/lib/python2.7/site-packages/mixtape-0.1-py2.7-linux-x86_64.egg/mixtape/cmdline.py",
line 219, in start
instance.start()
File
"/g/g90/kiss2/Progs/Python2.7/lib/python2.7/site-packages/mixtape-0.1-py2.7-linux-x86_64.egg/mixtape/commands/pullmeans.py",
line 73, in start
features, ii, ff = mixtape.featurizer.featurize_all(self.filenames,
featurizer, self.topology)
File
"/g/g90/kiss2/Progs/Python2.7/lib/python2.7/site-packages/mixtape-0.1-py2.7-linux-x86_64.egg/mixtape/featurizer.py",
line 13, in featurize_all
x = featurizer.featurize(t)
File
"/g/g90/kiss2/Progs/Python2.7/lib/python2.7/site-packages/mixtape-0.1-py2.7-linux-x86_64.egg/mixtape/featurizer.py",
line 49, in featurize
traj.superpose(self.reference_traj, atom_indices=self.atom_indices)
File
"/g/g90/kiss2/Progs/Python2.7/lib/python2.7/site-packages/mdtraj-0.7.0-py2.7-linux-x86_64.egg/mdtraj/trajectory.py",
line 785, in superpose
self.xyz = self_displace_xyz + ref_offset
MemoryError
But on occasion also a ValueError:

Traceback (most recent call last):
File "/g/g90/kiss2/mixtape-master/scripts/hmsm", line 8, in
app.start()
File
"/g/g90/kiss2/Progs/Python2.7/lib/python2.7/site-packages/mixtape-0.1-py2.7-linux-x86_64.egg/mixtape/cmdline.py",
line 219, in start
instance.start()
File
"/g/g90/kiss2/Progs/Python2.7/lib/python2.7/site-packages/mixtape-0.1-py2.7-linux-x86_64.egg/mixtape/commands/pullmeans.py",
line 95, in start
df = pd.DataFrame(data)
File
"/g/g90/kiss2/Progs/Python2.7/lib/python2.7/site-packages/pandas-0.13.1-py2.7-linux-x86_64.egg/pandas/core/frame.py",
line 201, in init
mgr = self._init_dict(data, index, columns, dtype=dtype)
File
"/g/g90/kiss2/Progs/Python2.7/lib/python2.7/site-packages/pandas-0.13.1-py2.7-linux-x86_64.egg/pandas/core/frame.py",
line 323, in _init_dict
dtype=dtype)
File
"/g/g90/kiss2/Progs/Python2.7/lib/python2.7/site-packages/pandas-0.13.1-py2.7-linux-x86_64.egg/pandas/core/frame.py",
line 4463, in _arrays_to_mgr
index = extract_index(arrays)
File
"/g/g90/kiss2/Progs/Python2.7/lib/python2.7/site-packages/pandas-0.13.1-py2.7-linux-x86_64.egg/pandas/core/frame.py",
line 4511, in extract_index
raise ValueError('arrays must all be same length')
ValueError: arrays must all be same length

Reply to this email directly or view it on GitHubhttps://github.com//issues/64
.

from msmbuilder.

gkiss avatar gkiss commented on August 15, 2024

I know.
This was a problem in the past, but not in more than ~20% of the cases.
Now it's around 90% and it has become almost impossible to generate .csv files and to then pull structures.
Note that I'm running the same data on the same machine now than a few days ago (when the error rate was at 20%).
I'm raising this issue to elevate the importance of issue #37

from msmbuilder.

gkiss avatar gkiss commented on August 15, 2024

Update:
Additional poking around suggests that the issue is not with mixtape, but with the imaging protocol going from Anton's Desmond trajectories to the water-stripped input that I'm throwing at mixtape.
Let's put this issue on hold until I have ruled out any ambiguity.

from msmbuilder.

gkiss avatar gkiss commented on August 15, 2024

The issue was indeed with the Anton imaging protocol.

from msmbuilder.

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.