-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'module' object has no attribute 'maximum' #694
Comments
This error seems to indicate that when you saved the snapshot last time, some code of yours previously defined an attribute named |
Actually I didnt define maximum in my code.I am not sure where it comes from.
|
Hi, I would need to make a diagram of the gcal model. I found I can referred to the model view showed |
This is the right link. https://ioam.github.io/topographica/Tutorials/gcal.html |
That's a screenshot from the Tk gui's model editor. |
Hi Bednar, I am not sure how to define a dummy declaration in the definition of load_snapshot properly, could you show me this ? |
Hi Bednar, I am sorry I ask the very old question now. I am stuck with this problem in my project and really need to solve it soon. |
Sorry; it's very difficult to debug that without the running session and all your files. A message like that usually indicates that the python code you are running does not match the code that you had when you saved the pickle. At the time of the pickle, there was a module with an object 'maximum' defined, but now there isn't such an object declared in that module, so when pickle tries to restore its state, it fails. From the message I can't tell what module that might be, but if you can figure out which one it is, load the |
Hi, I get a error from running topographica jobs,
Traceback (most recent call last):
File "/scratch01/env_c/topographica_pbc/pbc_measurement.py", line 90, in
load_snapshot(path+fname+'/'+snapshot_name)
File "/scratch01/env_c/topographica_pbc/topo/command/init.py", line 325, in load_snapshot
pickle.load(snapshot)
AttributeError: 'module' object has no attribute 'maximum'
Before it worked well, suddenly this error appears, I have no idea how to solve it.
The text was updated successfully, but these errors were encountered: