-
-
Save theideasmith/83dee968e22ccfc34e48642ef337b67a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ipython-input-20-db8ed034fc79> in <module>() | |
----> 1 model.fit(X,y) | |
<home>/.conda/envs/flytrackerML/lib/python2.7/site-packages/keras/models.pyc in fit(self, x, y, batch_size, nb_epoch, verbose, callbacks, validation_split, validation_data, shuffle, class_weight, sample_weight, **kwargs) | |
406 shuffle=shuffle, | |
407 class_weight=class_weight, | |
--> 408 sample_weight=sample_weight) | |
409 | |
410 def evaluate(self, x, y, batch_size=32, verbose=1, | |
<home>/.conda/envs/flytrackerML/lib/python2.7/site-packages/keras/engine/training.pyc in fit(self, x, y, batch_size, nb_epoch, verbose, callbacks, validation_split, validation_data, shuffle, class_weight, sample_weight) | |
1036 else: | |
1037 ins = x + y + sample_weights | |
-> 1038 self._make_train_function() | |
1039 f = self.train_function | |
1040 | |
<home>/.conda/envs/flytrackerML/lib/python2.7/site-packages/keras/engine/training.pyc in _make_train_function(self) | |
669 [self.total_loss] + self.metrics, | |
670 updates=updates, | |
--> 671 **self._function_kwargs) | |
672 | |
673 def _make_test_function(self): | |
<home>/.conda/envs/flytrackerML/lib/python2.7/site-packages/keras/backend/theano_backend.pyc in function(inputs, outputs, updates, **kwargs) | |
526 msg = "Invalid argument '%s' passed to K.function" % key | |
527 raise ValueError(msg) | |
--> 528 return Function(inputs, outputs, updates=updates, **kwargs) | |
529 | |
530 | |
<home>/.conda/envs/flytrackerML/lib/python2.7/site-packages/keras/backend/theano_backend.pyc in __init__(self, inputs, outputs, updates, **kwargs) | |
512 allow_input_downcast=True, | |
513 on_unused_input='warn', | |
--> 514 **kwargs) | |
515 | |
516 def __call__(self, inputs): | |
<home>/.conda/envs/flytrackerML/lib/python2.7/site-packages/theano/compile/function.pyc in function(inputs, outputs, mode, updates, givens, no_default_updates, accept_inplace, name, rebuild_strict, allow_input_downcast, profile, on_unused_input) | |
318 on_unused_input=on_unused_input, | |
319 profile=profile, | |
--> 320 output_keys=output_keys) | |
321 # We need to add the flag check_aliased inputs if we have any mutable or | |
322 # borrowed used defined inputs | |
<home>/.conda/envs/flytrackerML/lib/python2.7/site-packages/theano/compile/pfunc.pyc in pfunc(params, outputs, mode, updates, givens, no_default_updates, accept_inplace, name, rebuild_strict, allow_input_downcast, profile, on_unused_input, output_keys) | |
477 accept_inplace=accept_inplace, name=name, | |
478 profile=profile, on_unused_input=on_unused_input, | |
--> 479 output_keys=output_keys) | |
480 | |
481 | |
<home>/.conda/envs/flytrackerML/lib/python2.7/site-packages/theano/compile/function_module.pyc in orig_function(inputs, outputs, mode, accept_inplace, name, profile, on_unused_input, output_keys) | |
1775 on_unused_input=on_unused_input, | |
1776 output_keys=output_keys).create( | |
-> 1777 defaults) | |
1778 | |
1779 t2 = time.time() | |
<home>/.conda/envs/flytrackerML/lib/python2.7/site-packages/theano/compile/function_module.pyc in create(self, input_storage, trustme, storage_map) | |
1639 theano.config.traceback.limit = 0 | |
1640 _fn, _i, _o = self.linker.make_thunk( | |
-> 1641 input_storage=input_storage_lists, storage_map=storage_map) | |
1642 finally: | |
1643 theano.config.traceback.limit = limit_orig | |
<home>/.conda/envs/flytrackerML/lib/python2.7/site-packages/theano/gof/link.pyc in make_thunk(self, input_storage, output_storage, storage_map) | |
688 return self.make_all(input_storage=input_storage, | |
689 output_storage=output_storage, | |
--> 690 storage_map=storage_map)[:3] | |
691 | |
692 def make_all(self, input_storage, output_storage): | |
<home>/.conda/envs/flytrackerML/lib/python2.7/site-packages/theano/gof/vm.pyc in make_all(self, profiler, input_storage, output_storage, storage_map) | |
1045 computed, | |
1046 compute_map, | |
-> 1047 self.updated_vars, | |
1048 ) | |
1049 | |
<home>/.conda/envs/flytrackerML/lib/python2.7/site-packages/theano/gof/vm.pyc in make_vm(self, nodes, thunks, input_storage, output_storage, storage_map, post_thunk_clear, computed, compute_map, updated_vars) | |
911 | |
912 c0 = sys.getrefcount(node_n_inputs) | |
--> 913 vm = CVM( | |
914 nodes, | |
915 thunks, | |
NameError: global name 'CVM' is not defined |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment