Error in running demo #45
Unanswered
dannyqchen
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Traceback (most recent call last):
File "./G-Nomix/gnomix/gnomix.py", line 356, in
model = load_model(base_args["path_to_model"], verbose=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "./G-Nomix/gnomix/gnomix.py", line 31, in load_model
model = pickle.load(open(path_to_model,"rb"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/danny.chen/miniconda3/envs/gnomix/lib/python3.11/site-packages/pandas/core/internals/blocks.py", line 2400, in new_block
return klass(values, ndim=ndim, placement=placement, refs=refs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Argument 'placement' has incorrect type (expected pandas._libs.internals.BlockPlacement, got slice)
Beta Was this translation helpful? Give feedback.
All reactions