GemPy is an open-source, Python-based 3-D structural geological modeling software, which allows the implicit (i.e. automatic) creation of complex geological models from interface and orientation data. It also offers support for stochastic modeling to address parameter and model uncertainties.
I'm trying to create a model with a very large dataset (over 800,000 rows) of several layers, but every time I try to use the 'compute_model' function, after a successful interpolation, I run into this error. When I only use a very small fraction of my dataset, everything works fine. I've set default orientations for all layers and excluded faults to keep it all simple, hoping to resolve the issue but without success.
I've set the x,y,z limits to automatically adjust to my min and max values in the dataset, as I want to visualize the entire area. Additionally, in attempting to solve the problem, I tried playing with the resolution going from 50 to 10 but it didn't change the outcome.
Also, setting the theano compiler flag from 'fast_compile' to 'fast_run' didn't do the trick either.
Hopefully there's a solution to this.
`
MemoryError Traceback (most recent call last)
scan_perform.pyx in theano.scan_module.scan_perform.perform()
MemoryError: alloc failed
During handling of the above exception, another exception occurred:
MemoryError Traceback (most recent call last)
~\Anaconda3\lib\site-packages\theano\compile\function_module.py in call(self, *args, **kwargs)
902 outputs =\
--> 903 self.fn() if output_subset is None else\
904 self.fn(output_subset=output_subset)
~\Anaconda3\lib\site-packages\theano\scan_module\scan_op.py in rval(p, i, o, n, allow_gc)
962 allow_gc=allow_gc):
--> 963 r = p(n, [x[0] for x in i], o)
964 for o in node.outputs:
~\Anaconda3\lib\site-packages\six.py in reraise(tp, value, tb)
691 if value.traceback is not tb:
--> 692 raise value.with_traceback(tb)
693 raise value
scan_perform.pyx in theano.scan_module.scan_perform.perform()
Backtrace when the node is created(use Theano flag traceback.limit=N to make it longer):
File "C:\Users\Andreas\Anaconda3\lib\site-packages\gempy\core\gempy_api.py", line 218, in set_interpolator
geo_model.interpolator.compile_th_fn_geo(inplace=True, grid=grid)
File "C:\Users\Andreas\Anaconda3\lib\site-packages\gempy\core\interpolator.py", line 1022, in compile_th_fn_geo
self.theano_graph.theano_output(),
File "C:\Users\Andreas\Anaconda3\lib\site-packages\gempy\core\theano\theano_graph_pro.py", line 558, in theano_output
solutions[:9] = self.compute_series()
File "C:\Users\Andreas\Anaconda3\lib\site-packages\gempy\core\theano\theano_graph_pro.py", line 432, in compute_series
profile=False
File "C:\Users\Andreas\Anaconda3\lib\site-packages\theano\scan_module\scan.py", line 774, in scan
condition, outputs, updates = scan_utils.get_updates_and_outputs(fn(*args))
File "C:\Users\Andreas\Anaconda3\lib\site-packages\gempy\core\theano\theano_graph_pro.py", line 1884, in compute_a_series
Z_x = tif.ifelse(compute_scalar_ctr, self.compute_scalar_field(weights, grid, fault_matrix_op),
File "C:\Users\Andreas\Anaconda3\lib\site-packages\gempy\core\theano\theano_graph_pro.py", line 375, in compute_scalar_field
return self.scalar_field_at_all(weights, grid_val, fault_matrix)
File "C:\Users\Andreas\Anaconda3\lib\site-packages\gempy\core\theano\theano_graph_pro.py", line 1516, in scalar_field_at_all
return_list=True)
Hi everyone,
I'm trying to create a model with a very large dataset (over 800,000 rows) of several layers, but every time I try to use the 'compute_model' function, after a successful interpolation, I run into this error. When I only use a very small fraction of my dataset, everything works fine. I've set default orientations for all layers and excluded faults to keep it all simple, hoping to resolve the issue but without success.
I've set the x,y,z limits to automatically adjust to my min and max values in the dataset, as I want to visualize the entire area. Additionally, in attempting to solve the problem, I tried playing with the resolution going from 50 to 10 but it didn't change the outcome. Also, setting the theano compiler flag from 'fast_compile' to 'fast_run' didn't do the trick either.
Hopefully there's a solution to this.
`
MemoryError Traceback (most recent call last) scan_perform.pyx in theano.scan_module.scan_perform.perform()
MemoryError: alloc failed
During handling of the above exception, another exception occurred:
MemoryError Traceback (most recent call last) ~\Anaconda3\lib\site-packages\theano\compile\function_module.py in call(self, *args, **kwargs) 902 outputs =\ --> 903 self.fn() if output_subset is None else\ 904 self.fn(output_subset=output_subset)
~\Anaconda3\lib\site-packages\theano\scan_module\scan_op.py in rval(p, i, o, n, allow_gc) 962 allow_gc=allow_gc): --> 963 r = p(n, [x[0] for x in i], o) 964 for o in node.outputs:
~\Anaconda3\lib\site-packages\theano\scan_module\scan_op.py in p(node, args, outs) 951 outs, --> 952 self, node) 953 except (ImportError, theano.gof.cmodule.MissingGXX):
scan_perform.pyx in theano.scan_module.scan_perform.perform()
~\Anaconda3\lib\site-packages\theano\gof\link.py in raise_with_op(node, thunk, exc_info, storage_map) 324 pass --> 325 reraise(exc_type, exc_value, exc_trace) 326
~\Anaconda3\lib\site-packages\six.py in reraise(tp, value, tb) 691 if value.traceback is not tb: --> 692 raise value.with_traceback(tb) 693 raise value
scan_perform.pyx in theano.scan_module.scan_perform.perform()
MemoryError: alloc failed Apply node that caused the error: AllocEmpty{dtype='float64'}(Elemwise{add,no_inplace}.0, Subtensor{int64}.0) Toposort index: 638 Inputs types: [TensorType(int64, scalar), TensorType(int64, scalar)] Inputs shapes: [(), ()] Inputs strides: [(), ()] Inputs values: [array(10132, dtype=int64), array(386842, dtype=int64)] Inputs type_num: [9, 9] Outputs clients: [[IncSubtensor{Set;:int64:}(AllocEmpty{dtype='float64'}.0, Rebroadcast{0}.0, ScalarFromTensor.0)]]
Backtrace when the node is created(use Theano flag traceback.limit=N to make it longer): File "C:\Users\Andreas\Anaconda3\lib\site-packages\gempy\core\gempy_api.py", line 218, in set_interpolator geo_model.interpolator.compile_th_fn_geo(inplace=True, grid=grid) File "C:\Users\Andreas\Anaconda3\lib\site-packages\gempy\core\interpolator.py", line 1022, in compile_th_fn_geo self.theano_graph.theano_output(), File "C:\Users\Andreas\Anaconda3\lib\site-packages\gempy\core\theano\theano_graph_pro.py", line 558, in theano_output solutions[:9] = self.compute_series() File "C:\Users\Andreas\Anaconda3\lib\site-packages\gempy\core\theano\theano_graph_pro.py", line 432, in compute_series profile=False File "C:\Users\Andreas\Anaconda3\lib\site-packages\theano\scan_module\scan.py", line 774, in scan condition, outputs, updates = scan_utils.get_updates_and_outputs(fn(*args)) File "C:\Users\Andreas\Anaconda3\lib\site-packages\gempy\core\theano\theano_graph_pro.py", line 1884, in compute_a_series Z_x = tif.ifelse(compute_scalar_ctr, self.compute_scalar_field(weights, grid, fault_matrix_op), File "C:\Users\Andreas\Anaconda3\lib\site-packages\gempy\core\theano\theano_graph_pro.py", line 375, in compute_scalar_field return self.scalar_field_at_all(weights, grid_val, fault_matrix) File "C:\Users\Andreas\Anaconda3\lib\site-packages\gempy\core\theano\theano_graph_pro.py", line 1516, in scalar_field_at_all return_list=True)
Debugprint of the apply node: AllocEmpty{dtype='float64'} [id A] <TensorType(float64, matrix)> ''
| | | | | | | | | | |TensorConstant{0} [id H] <TensorType(int8, scalar)>
| | | | | | | | | | |CumOp{None, add} [id X] <TensorType(int32, vector)> ''
| | | | | | | | | | |TensorConstant{(1,) of 1} [id BE] <TensorType(int8, (True,))>
| | | | | | | | | |Constant{0} [id W]
| | | | | | | | |Subtensor{int64} [id BF] <TensorType(float64, matrix)> ''
| | | | | | | | | | | | | |Constant{0} [id W]
| | | | | | | | | | | | |Subtensor{int64} [id BO] <TensorType(int64, scalar)> ''
| | | | | | | | | | | | | |Constant{-1} [id BD]
| | | | | | | | | | | | |Constant{0} [id W]
| | | | | | | | | | | |Subtensor{int64} [id BT] <TensorType(int64, scalar)> ''
| | | | | | | | | | | |Constant{0} [id W]
| | | | | | | | | | |Subtensor{:int64:} [id BX] <TensorType(float64, matrix)> '' '' '' ''
| | | | | | | | | | | | | |TensorConstant{3} [id CL] <TensorType(int8, scalar)>
| | | | | | | | | | | | |Constant{0} [id W]
| | | | | | | | | | | |Subtensor{int64} [id CM] <TensorType(int64, scalar)> ''
| | | | | | | | | | | |Subtensor{int64} [id CN] <TensorType(int64, scalar)> ''
| | | | | | | | | | |Rebroadcast{0} [id CG] <TensorType(float64, 3D)> '' ''
| | | | | | | | |Constant{-1} [id BD]
| | | | | | | |Constant{0} [id W]
| | | | | | |Elemwise{true_div,no_inplace} [id CQ] <TensorType(float64, scalar)> '' '' ''
| | | | | | | | | | | |Subtensor{int64} [id DJ] <TensorType(int64, scalar)> ''
| | | | | | | | | | |MakeVector{dtype='int64'} [id DK] <TensorType(int64, vector)> ''
| | | | | | | | |Subtensor{int64} [id DN] <TensorType(int64, scalar)> '' '' ''
| | | | | | | |Grade of the universal drift[t] [id DU] <TensorType(int32, scalar)>
| | | | | | |Elemwise{Cast{int32}} [id DV] <TensorType(int32, scalar)> '' ''
| | | | | | | | |TensorConstant{0} [id EJ] <TensorType(int64, scalar)>
| | | | | | | | |MakeSlice [id EK] ''
| | | | | | | | | | |Elemwise{mul,no_inplace} [id EP] <TensorType(int64, scalar)> ''
| | | | | | | | | |TensorConstant{0} [id H] <TensorType(int8, scalar)>
| | | | | | | | |NoneConst [id EU]
| | | | | | | |InplaceDimShuffle{x,x} [id EV] <TensorType(float64, (True, True))> ''
| | | | | |MakeVector{dtype='int64'} [id EX] <TensorType(int64, vector)> ''
| | | | |Constant{-1} [id BD]
| | | |Constant{0} [id W]
| | |Subtensor{int64} [id EY] <TensorType(int64, scalar)> ''
| | |Constant{0} [id W]
| |Subtensor{int64} [id FB] <TensorType(int64, scalar)> ''
|Subtensor{int64} [id FG] <TensorType(int64, scalar)> ''
|Elemwise{add,no_inplace} [id B] <TensorType(int64, scalar)> ''
| |Elemwise{minimum,no_inplace} [id C] <TensorType(int64, scalar)> ''
| | |Subtensor{int64} [id D] <TensorType(int64, scalar)> ''
| | | |Shape [id E] <TensorType(int64, vector)> ''
| | | | |Subtensor{int64:int64:} [id F] <TensorType(int64, vector)> ''
| | | | |Join [id G] <TensorType(int64, vector)> ''
| | | | | |TensorConstant{0} [id H] <TensorType(int8, scalar)> | | | | | |ARange{dtype='int64'} [id I] <TensorType(int64, vector)> ''
| | | | | | |TensorConstant{0} [id H] <TensorType(int8, scalar)> | | | | | | |Subtensor{int64} [id J] <TensorType(int64, scalar)> ''
| | | | | | | |Shape [id K] <TensorType(int64, vector)> ''
| | | | | | | | |Join [id L] <TensorType(float64, matrix)> ''
| | | | | | | | |TensorConstant{0} [id H] <TensorType(int8, scalar)> | | | | | | | | |Coordinates of the grid points to interpolate_copy [id M] <TensorType(float64, matrix)> | | | | | | | | |AdvancedSubtensor1 [id N] <TensorType(float64, matrix)> ''
| | | | | | | | | |All the surface_points points at once_copy [id O] <TensorType(float64, matrix)> | | | | | | | | | |Subtensor{int64} [id P] <TensorType(int64, vector)> ''
| | | | | | | | | |Nonzero [id Q] <TensorType(int64, matrix)> ''
| | | | | | | | | | |AdvancedIncSubtensor1{no_inplace,set} [id R] <TensorType(int16, vector)> ''
| | | | | | | | | | |Alloc [id S] <TensorType(int16, vector)> ''
| | | | | | | | | | | |TensorConstant{1} [id T] <TensorType(int16, scalar)> | | | | | | | | | | | |Subtensor{int64} [id U] <TensorType(int64, scalar)> ''
| | | | | | | | | | | |Shape [id V] <TensorType(int64, vector)> ''
| | | | | | | | | | | | |All the surface_points points at once_copy [id O] <TensorType(float64, matrix)> | | | | | | | | | | | |Constant{0} [id W]
| | | | | | | | | | |Join [id Y] <TensorType(int32, vector)> ''
| | | | | | | | | | |TensorConstant{0} [id H] <TensorType(int8, scalar)> | | | | | | | | | | |TensorConstant{(1,) of 0} [id Z] <TensorType(int8, vector)> | | | | | | | | | | |Elemwise{add,no_inplace} [id BA] <TensorType(int32, vector)> ''
| | | | | | | | | | |Subtensor{:int64:} [id BB] <TensorType(int32, vector)> ''
| | | | | | | | | | | |Number of points per surface used to split rest-ref_copy [id BC] <TensorType(int32, vector)> | | | | | | | | | | | |Constant{-1} [id BD]
| | | | | | | | |Subtensor{int64::} [id BG] <TensorType(float64, 3D)> ''
| | | | | | | | | |for{cpu,scan_fn} [id BH] <TensorType(float64, 3D)> ''
| | | | | | | | | | |Elemwise{minimum,no_inplace} [id BI] <TensorType(int64, scalar)> ''
| | | | | | | | | | | |Elemwise{minimum,no_inplace} [id BJ] <TensorType(int64, scalar)> ''
| | | | | | | | | | | | |Subtensor{int64} [id BK] <TensorType(int64, scalar)> ''
| | | | | | | | | | | | | |Shape [id BL] <TensorType(int64, vector)> ''
| | | | | | | | | | | | | | |Subtensor{int64::} [id BM] <TensorType(float64, matrix)> ''
| | | | | | | | | | | | | | |AdvancedSubtensor1 [id BN] <TensorType(float64, matrix)> ''
| | | | | | | | | | | | | | | |All the surface_points points at once_copy [id O] <TensorType(float64, matrix)> | | | | | | | | | | | | | | | |CumOp{None, add} [id X] <TensorType(int32, vector)> ''
| | | | | | | | | | | | | | |Constant{0} [id W]
| | | | | | | | | | | | |Shape [id BP] <TensorType(int64, vector)> ''
| | | | | | | | | | | | | |Subtensor{int64:int64:} [id BQ] <TensorType(int32, vector)> ''
| | | | | | | | | | | | | |CumOp{None, add} [id BR] <TensorType(int32, vector)> ''
| | | | | | | | | | | | | | |Join [id BS] <TensorType(int32, vector)> ''
| | | | | | | | | | | | | | |TensorConstant{0} [id H] <TensorType(int8, scalar)> | | | | | | | | | | | | | | |TensorConstant{(1,) of 0} [id Z] <TensorType(int8, vector)> | | | | | | | | | | | | | | |Number of points per surface used to split rest-ref_copy [id BC] <TensorType(int32, vector)> | | | | | | | | | | | | | |Constant{0} [id W]
| | | | | | | | | | | |Shape [id BU] <TensorType(int64, vector)> ''
| | | | | | | | | | | | |Subtensor{int64::} [id BV] <TensorType(int32, vector)> ''
| | | | | | | | | | | | |CumOp{None, add} [id BR] <TensorType(int32, vector)> ''
| | | | | | | | | | | | |Constant{1} [id BW]
| | | | | | | | | | | |Subtensor{int64::} [id BM] <TensorType(float64, matrix)> ''
| | | | | | | | | | | |ScalarFromTensor [id BY]
| | | | | | | | | | | |Elemwise{minimum,no_inplace} [id BI] <TensorType(int64, scalar)> ''
| | | | | | | | | | |Subtensor{:int64:} [id BZ] <TensorType(int32, vector)> ''
| | | | | | | | | | | |Subtensor{int64:int64:} [id BQ] <TensorType(int32, vector)> ''
| | | | | | | | | | | |ScalarFromTensor [id BY]
| | | | | | | | | | |Subtensor{:int64:} [id CA] <TensorType(int32, vector)> ''
| | | | | | | | | | | |Subtensor{int64::} [id BV] <TensorType(int32, vector)> ''
| | | | | | | | | | | |ScalarFromTensor [id BY]
| | | | | | | | | | |IncSubtensor{Set;:int64:} [id CB] <TensorType(float64, 3D)> ''
| | | | | | | | | | |AllocEmpty{dtype='float64'} [id CC] <TensorType(float64, 3D)> ''
| | | | | | | | | | | |Elemwise{add,no_inplace} [id CD] <TensorType(int64, scalar)> ''
| | | | | | | | | | | | |Elemwise{minimum,no_inplace} [id BI] <TensorType(int64, scalar)> ''
| | | | | | | | | | | | |Subtensor{int64} [id CE] <TensorType(int64, scalar)> ''
| | | | | | | | | | | | |Shape [id CF] <TensorType(int64, vector)> ''
| | | | | | | | | | | | | |Rebroadcast{0} [id CG] <TensorType(float64, 3D)> ''
| | | | | | | | | | | | | |InplaceDimShuffle{x,0,1} [id CH] <TensorType(float64, (True, False, False))> ''
| | | | | | | | | | | | | |Alloc [id CI] <TensorType(float64, matrix)> ''
| | | | | | | | | | | | | |TensorConstant{0.0} [id CJ] <TensorType(float64, scalar)> | | | | | | | | | | | | | |Subtensor{int64} [id CK] <TensorType(int32, scalar)> ''
| | | | | | | | | | | | | | |CumOp{None, add} [id BR] <TensorType(int32, vector)> ''
| | | | | | | | | | | | | | |Constant{-1} [id BD]
| | | | | | | | | | | | |Shape [id CF] <TensorType(int64, vector)> ''
| | | | | | | | | | | | |Constant{1} [id BW]
| | | | | | | | | | | |Shape [id CF] <TensorType(int64, vector)> ''
| | | | | | | | | | | |Constant{2} [id CO]
| | | | | | | | | | |ScalarFromTensor [id CP]
| | | | | | | | | | |Subtensor{int64} [id CE] <TensorType(int64, scalar)> ''
| | | | | | | | | |Constant{1} [id BW]
| | | | | | |TensorConstant{5000000.0} [id CR] <TensorType(float32, scalar)> | | | | | | |Elemwise{add,no_inplace} [id CS] <TensorType(int64, scalar)> ''
| | | | | | |Elemwise{add,no_inplace} [id CT] <TensorType(int64, scalar)> ''
| | | | | | | |Elemwise{add,no_inplace} [id CU] <TensorType(int64, scalar)> ''
| | | | | | | | |Subtensor{int64} [id CV] <TensorType(int64, scalar)> ''
| | | | | | | | | |Shape [id CW] <TensorType(int64, vector)> ''
| | | | | | | | | | |Reshape{2} [id CX] <TensorType(float64, matrix)> ''
| | | | | | | | | | |InplaceDimShuffle{0,2,1,3} [id CY] <TensorType(float64, (False, False, True, False))> ''
| | | | | | | | | | | |Alloc [id CZ] <TensorType(float64, (False, True, False, False))> ''
| | | | | | | | | | | |Subtensor{int32:int32:, ::} [id DA] <TensorType(float64, matrix)> ''
| | | | | | | | | | | | |Position of the dips_copy [id DB] <TensorType(float64, matrix)> | | | | | | | | | | | | |ScalarFromTensor [id DC]
| | | | | | | | | | | | | |Length of foliations in every series[t] [id DD] <TensorType(int32, scalar)> | | | | | | | | | | | | |ScalarFromTensor [id DE]
| | | | | | | | | | | | |Length of foliations in every series[t+1] [id DF] <TensorType(int32, scalar)> | | | | | | | | | | | |TensorConstant{3} [id CL] <TensorType(int8, scalar)> | | | | | | | | | | | |TensorConstant{1} [id DG] <TensorType(int8, scalar)> | | | | | | | | | | | |Subtensor{int64} [id DH] <TensorType(int64, scalar)> ''
| | | | | | | | | | | | |Shape [id DI] <TensorType(int64, vector)> ''
| | | | | | | | | | | | | |Subtensor{int32:int32:, ::} [id DA] <TensorType(float64, matrix)> ''
| | | | | | | | | | | | |Constant{0} [id W]
| | | | | | | | | | | |Shape [id DI] <TensorType(int64, vector)> ''
| | | | | | | | | | | |Constant{1} [id BW]
| | | | | | | | | | |Elemwise{mul,no_inplace} [id DL] <TensorType(int64, scalar)> ''
| | | | | | | | | | | |Subtensor{int64} [id DH] <TensorType(int64, scalar)> ''
| | | | | | | | | | | |TensorConstant{3} [id CL] <TensorType(int8, scalar)> | | | | | | | | | | |Elemwise{mul,no_inplace} [id DM] <TensorType(int64, scalar)> ''
| | | | | | | | | | |Subtensor{int64} [id DJ] <TensorType(int64, scalar)> ''
| | | | | | | | | | |TensorConstant{1} [id DG] <TensorType(int8, scalar)> | | | | | | | | | |Constant{0} [id W]
| | | | | | | | |Shape [id DO] <TensorType(int64, vector)> ''
| | | | | | | | | |Subtensor{int32:int32:, ::} [id DP] <TensorType(float64, matrix)> ''
| | | | | | | | | |AdvancedSubtensor1 [id N] <TensorType(float64, matrix)> ''
| | | | | | | | | |ScalarFromTensor [id DQ]
| | | | | | | | | | |Length of surface_points in every series[t] [id DR] <TensorType(int32, scalar)> | | | | | | | | | |ScalarFromTensor [id DS]
| | | | | | | | | |Length of surface_points in every series[t+1] [id DT] <TensorType(int32, scalar)> | | | | | | | | |Constant{0} [id W]
| | | | | | |Subtensor{int64} [id DW] <TensorType(int64, scalar)> ''
| | | | | | |Shape [id DX] <TensorType(int64, vector)> ''
| | | | | | | |Elemwise{mul,no_inplace} [id DY] <TensorType(float64, matrix)> ''
| | | | | | | |AdvancedSubtensor [id DZ] <TensorType(float64, matrix)> ''
| | | | | | | | |<TensorType(float64, 3D)> [id EA] <TensorType(float64, 3D)> | | | | | | | | |Subtensor{int64} [id EB] <TensorType(int64, vector)> ''
| | | | | | | | | |Nonzero [id EC] <TensorType(int64, matrix)> ''
| | | | | | | | | | |Elemwise{Cast{int8}} [id ED] <TensorType(int8, vector)> ''
| | | | | | | | | | |Subtensor{::, int8} [id EE] <TensorType(int32, vector)> ''
| | | | | | | | | | |fault relation matrix_copy [id EF] <TensorType(int32, matrix)> | | | | | | | | | | |ScalarFromTensor [id EG]
| | | | | | | | | | |Elemwise{Cast{int8}} [id EH] <TensorType(int8, scalar)> ''
| | | | | | | | | | |<TensorType(int32, scalar)> [id EI] <TensorType(int32, scalar)> | | | | | | | | | |Constant{0} [id W]
| | | | | | | | |TensorConstant{0} [id H] <TensorType(int8, scalar)> | | | | | | | | |Elemwise{add,no_inplace} [id EL] <TensorType(int64, scalar)> ''
| | | | | | | | | |Elemwise{add,no_inplace} [id EM] <TensorType(int64, scalar)> ''
| | | | | | | | | | |Subtensor{int64} [id EN] <TensorType(int64, scalar)> ''
| | | | | | | | | | | |Shape [id EO] <TensorType(int64, vector)> ''
| | | | | | | | | | | | |Coordinates of the grid points to interpolate_copy [id M] <TensorType(float64, matrix)> | | | | | | | | | | | |Constant{0} [id W]
| | | | | | | | | | |TensorConstant{2} [id EQ] <TensorType(int8, scalar)> | | | | | | | | | | |Elemwise{sub,no_inplace} [id ER] <TensorType(int64, scalar)> ''
| | | | | | | | | | |Subtensor{int64} [id U] <TensorType(int64, scalar)> ''
| | | | | | | | | | |Subtensor{int64} [id ES] <TensorType(int64, scalar)> ''
| | | | | | | | | | |Shape [id ET] <TensorType(int64, vector)> ''
| | | | | | | | | | | |Number of points per surface used to split rest-ref_copy [id BC] <TensorType(int32, vector)> | | | | | | | | | | |Constant{0} [id W]
| | | | | | | |<TensorType(float64, scalar)> [id EW] <TensorType(float64, scalar)> | | | | | | |Constant{0} [id W]
| | | | | |Subtensor{int64} [id J] <TensorType(int64, scalar)> ''
| | | | |Constant{0} [id W]
| | |Shape [id EZ] <TensorType(int64, vector)> ''
| | | |Subtensor{int64::} [id FA] <TensorType(int64, vector)> ''
| | | |Join [id G] <TensorType(int64, vector)> ''
| | | |Constant{1} [id BW]
| |Shape [id FC] <TensorType(int64, vector)> ''
| | |Rebroadcast{0} [id FD] <TensorType(float64, matrix)> ''
| | |InplaceDimShuffle{x,0} [id FE] <TensorType(float64, row)> ''
| | |Alloc [id FF] <TensorType(float64, vector)> ''
| | |TensorConstant{0.0} [id CJ] <TensorType(float64, scalar)> | | |Subtensor{int64} [id J] <TensorType(int64, scalar)> ''
| |Constant{0} [id W]
|Shape [id FC] <TensorType(int64, vector)> ''
|Constant{1} [id BW]
Inner graphs of the scan ops:
for{cpu,scan_fn} [id BH] <TensorType(float64, 3D)> ''
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:
MemoryError Traceback (most recent call last)