e2version.py
EMAN 2.99 ( GITHUB: 2022-08-02 21:05 - commit: 8a24bb112b5837b69fa6c0696c7ae1b88262a637 )
Your EMAN2 is running on: Linux-3.10.0-1160.59.1.el7.x86_64-x86_64-with-glibc2.17 3.10.0-1160.59.1.el7.x86_64
Your Python version is: 3.9.13
e2projectmanager.py
/opt/EMAN2/continuous-release-2022-08-16/bin/e2projectmanager.py:1799: DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python.
self.scwidget.setMinimumWidth(self.width()-1.5*self.verticalScrollBar().width())
/opt/EMAN2/continuous-release-2022-08-16/bin/e2projectmanager.py:1800: DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python.
self.scwidget.setMaximumWidth(self.width()-1.5*self.verticalScrollBar().width())
NOT Writing notes, ppid=-2
Fri Aug 19 16:29:57 2022: e2proc3d.py W1223_G4_130Kx_ts_15_Alimc.rec-bin4.mrc ./tomograms/W1223_G4_130Kx_ts_15_Alimc.rec-bin4.hdf --clip 1024,1024,240 --process normalize
Done.
JSON file:NOT Writing notes, ppid=-2
1/1
JSON file:{}
Manually edit JSON file:
{
"apix_unbin":3.86,
}
Box triaining References: Use defaults
Saving 2D particles to particles/W1223_G4_130Kx_ts_15_Alimc.rec-bin4__particles_00.hdf
Exiting
None
JSON file:
{
"apix_unbin":3.86,
"boxes_3d": [[425.5,586.5,120,"manual",0.0,0],
[654.5,455.5,120,"manual",0.0,0]
],
"class_list": {
"0": {
"boxsize": 64,
"name": "particles_00"
}
}
}
Launching "e2spt_boxer_convnet.py --label xxx" again:
If I click on a tomogram in the list of files the follwong error appears.
Reading tomograms/W1223_G4_130Kx_ts_15_Alimc_preproc.hdf...
Traceback (most recent call last):
File "/opt/EMAN2/continuous-release-2022-08-16/bin/e2spt_boxer_convnet.py", line 565, in on_list_selected
self.set_data(self.curinfo["name"])
File "/opt/EMAN2/continuous-release-2022-08-16/bin/e2spt_boxer_convnet.py", line 590, in set_data
apix_unbin=js["apix_unbin"]
File "/opt/EMAN2/continuous-release-2022-08-16/lib/python3.9/site-packages/EMAN2jsondb.py", line 875, in get
raise KeyError(key)
KeyError: 'apix_unbin'
Aborted
--
--
----------------------------------------------------------------------------------------------
You received this message because you are subscribed to the Google
Groups "EMAN2" group.
To post to this group, send email to em...@googlegroups.com
To unsubscribe from this group, send email to eman2+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/eman2
---
You received this message because you are subscribed to the Google Groups "EMAN2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eman2+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/985a9a13-99c2-4825-8973-e1cbea7d9been%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/CCD0C003-473A-4B56-BC2D-FBE7B8F03135%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/CAO5HvnN%3Dp7YuPtT1o2sW60Nco8hP%3DGqGOFWrngVPxhf%2B8hvRJg%40mail.gmail.com.
File "/opt/EMAN2/continuous-release-2022-08-16/bin/e2spt_boxer_convnet.py", line 831, in save_nnet
self.nnet.save_network("neuralnets/nnet_save.hdf")
AttributeError: 'NoneType' object has no attribute 'save_network'

You received this message because you are subscribed to a topic in the Google Groups "EMAN2" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/eman2/BP803C5r8w8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to eman2+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/CAO_0xqGB3n3qWZtX2jaOebTyj6nEUFUgWKCdBUWvEgEDTmKTJg%40mail.gmail.com.
On Aug 24, 2022, at 10:51 AM, Daniel Parrell <parrell...@gmail.com> wrote:
Hi Muyan,
Thank you for making this change. I had a chance to give it a try and I am happy to report that it works! I ran the program from within my project directory after just importing the tomograms using the following command "python ./e2procjson.py tomograms/*.mrc --addkey apix_unbin:3.86 --infofile".I ran this on a whole set of tomograms and they all have the key apix_unbin now. and if I run "e2spt_boxer_convnet.py --label xxx" I can open a tomogram and pick particles.One new problem I notice. If I close the first tomogram I opened and try to open it again, or another tomogram, the second instance of opening a tomogram gives me a white window. Here is a screenshot. However if I close all of the windows and rerun "e2spt_boxer_convnet.py --label DPS" I can open any of them again and the progress was saved. So this is a small problem with an easy workaround given how fast the training is.I also noticed if you press save before training a neural network it crashes the program with the following error. This is not a problem if you are doing things in the correct order though.Traceback (most recent call last):File "/opt/EMAN2/continuous-release-2022-08-16/bin/e2spt_boxer_convnet.py", line 831, in save_nnetself.nnet.save_network("neuralnets/nnet_save.hdf")AttributeError: 'NoneType' object has no attribute 'save_network'Aborted
Thank you, I think this is mostly solved!Daniel
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/CAO5HvnNo6WdYkcB%3DGMevGNOwz8zBNTNqK7SbvYb7C2pGUAoK%3Dg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/335daa3c-689f-480d-98ed-aae80729aeedn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/5FED4CD2-D791-4E63-A887-F31B79BA3156%40gmail.com.