Replies: 5 comments
-
Hey, Thanks for your question. Could you post the error message here so we can track where the issue is? Cheers Alex |
Beta Was this translation helpful? Give feedback.
-
thanks Alex, see below: ValueError Traceback (most recent call last) ValueError: Input dimension mis-match. (input[0].shape[1] = 84, input[1].shape[1] = 102) During handling of the above exception, another exception occurred: ValueError Traceback (most recent call last) /opt/conda/lib/python3.8/site-packages/theano/scan_module/scan_op.py in rval(p, i, o, n, allow_gc) /opt/conda/lib/python3.8/site-packages/theano/scan_module/scan_op.py in p(node, args, outs) scan_perform.pyx in theano.scan_module.scan_perform.perform() /opt/conda/lib/python3.8/site-packages/theano/gof/link.py in raise_with_op(node, thunk, exc_info, storage_map) /opt/conda/lib/python3.8/site-packages/six.py in reraise(tp, value, tb) scan_perform.pyx in theano.scan_module.scan_perform.perform() ValueError: Input dimension mis-match. (input[0].shape[1] = 84, input[1].shape[1] = 102) Backtrace when the node is created(use Theano flag traceback.limit=N to make it longer): Debugprint of the apply node: HINT: Use the Theano flag 'exception_verbosity=high' for a debugprint and storage map footprint of this apply node. During handling of the above exception, another exception occurred: ValueError Traceback (most recent call last) /home/gempy/work/gempy/gempy/gempy_api.py in compute_model(model, output, at, compute_mesh, reset_weights, reset_scalar, reset_block, sort_surfaces, debug, set_solutions, **kwargs) /opt/conda/lib/python3.8/site-packages/theano/compile/function_module.py in call(self, *args, **kwargs) /opt/conda/lib/python3.8/site-packages/theano/gof/link.py in raise_with_op(node, thunk, exc_info, storage_map) /opt/conda/lib/python3.8/site-packages/six.py in reraise(tp, value, tb) /opt/conda/lib/python3.8/site-packages/theano/compile/function_module.py in call(self, *args, **kwargs) /opt/conda/lib/python3.8/site-packages/theano/scan_module/scan_op.py in rval(p, i, o, n, allow_gc) /opt/conda/lib/python3.8/site-packages/theano/scan_module/scan_op.py in p(node, args, outs) scan_perform.pyx in theano.scan_module.scan_perform.perform() /opt/conda/lib/python3.8/site-packages/theano/gof/link.py in raise_with_op(node, thunk, exc_info, storage_map) /opt/conda/lib/python3.8/site-packages/six.py in reraise(tp, value, tb) scan_perform.pyx in theano.scan_module.scan_perform.perform() ValueError: Input dimension mis-match. (input[0].shape[1] = 84, input[1].shape[1] = 102) Backtrace when the node is created(use Theano flag traceback.limit=N to make it longer): Debugprint of the apply node: HINT: Use the Theano flag 'exception_verbosity=high' for a debugprint and storage map footprint of this apply node. Backtrace when the node is created(use Theano flag traceback.limit=N to make it longer): Debugprint of the apply node: Inner graphs of the scan ops: for{cpu,Looping}.0 [id A] <TensorType(float64, 4D)> ''
for{cpu,Looping}.1 [id A] <TensorType(float64, matrix)> ''
for{cpu,Looping}.2 [id A] <TensorType(float64, 3D)> ''
for{cpu,Looping}.3 [id A] <TensorType(float64, 3D)> ''
for{cpu,Looping}.4 [id A] <TensorType(bool, 3D)> ''
for{cpu,Looping}.5 [id A] <TensorType(bool, 3D)> ''
for{cpu,Looping}.6 [id A] <TensorType(float64, 4D)> ''
for{cpu,Looping}.7 [id A] <TensorType(int64, vector)> ''
Storage map footprint:
|
Beta Was this translation helpful? Give feedback.
-
Hey @DCGuser, have you checked that you have an orientation for each series you define? I am not sure I have seen this error so let us go through the possibilities step by step. Cheers Alex |
Beta Was this translation helpful? Give feedback.
-
Hey Alex, thanks again. I have defined the series order and have an orientation file with dip and azimuth, basically flat surfaces. |
Beta Was this translation helpful? Give feedback.
-
Hi @DCGuser , based on what you show here I can not easily detect the problem. Are you able to share the notebook and input data your are using? Maybe we can take a closer look and find the problem. Best wishes |
Beta Was this translation helpful? Give feedback.
-
Hi Everyone, I'm new to gempy and to python, but I'm following each step of a simple horizontal geologic model using a data from one of my site. The geology is basically a bunch of estuary clays and silts, with some sandy channels.
I got the data in, was able to stack surfaces, plot a cross section withthout lithologies, and was able to do the interpolation using gp.set.interpolator with Theano_optimizer set as 'fast compile'. It calculates range etc, but when I try to use
sol=gp.compute_model(my model) I get this error:
Input dimension mis-match. (input[0].shape[1] = 84, input[1].shape[1] = 102), and after this message, a bunch of other exceptions.
Any ideas?
thanks
Daniel
Beta Was this translation helpful? Give feedback.
All reactions