Comments (3)
Install it via pip install git+https://github.com/Theano/Theano
.
from frrn.
Can you tell me how to install theano 0.9.0? The default theano for python 3,5 is 0.8.0 by which your code will run into the following error.
from frrn.
Enter path to CityScapes folder [/opt/data/penggao/dataset/cityscape]:
Enter model filename [models/frrn_b.npz]:
Enter log filename [logs/frrn_b.log]:
Define network... [0.52s]
Load model... [0.83s]
Define loss... [0.51s]
Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/theano/tensor/type.py", line 267, in dtype_specs
}[self.dtype]
KeyError: 'object'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/theano/tensor/basic.py", line 408, in constant_or_value
TensorType(dtype=x_.dtype, broadcastable=bcastable),
File "/usr/local/lib/python3.5/site-packages/theano/tensor/type.py", line 50, in init
self.dtype_specs() # error checking is done there
File "/usr/local/lib/python3.5/site-packages/theano/tensor/type.py", line 270, in dtype_specs
% (self.class.name, self.dtype))
TypeError: Unsupported dtype for TensorType: object
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/theano/tensor/basic.py", line 202, in as_tensor_variable
return constant(x, name=name, ndim=ndim)
File "/usr/local/lib/python3.5/site-packages/theano/tensor/basic.py", line 422, in constant
dtype=dtype)
File "/usr/local/lib/python3.5/site-packages/theano/tensor/basic.py", line 417, in constant_or_value
raise TypeError("Could not convert %s to TensorType" % x, type(x))
TypeError: not all arguments converted during string formatting
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train.py", line 78, in
all_predictions, split_outputs = dltools.hybrid_training.get_split_outputs(network, deterministic=False)
File "/opt/data/penggao/deep_segmentation/FRRN/dltools/hybrid_training.py", line 18, in get_split_outputs
all_outputs = lasagne.layers.get_output(network.output_layers + sum(network.splits, []), **kwargs)
File "/usr/local/lib/python3.5/site-packages/lasagne/layers/helper.py", line 191, in get_output
all_outputs[layer] = layer.get_output_for(layer_inputs, **kwargs)
File "/opt/data/penggao/deep_segmentation/FRRN/dltools/layers.py", line 36, in get_output_for
return T.nnet.abstract_conv.bilinear_upsampling(input, self.factor)
File "/usr/local/lib/python3.5/site-packages/theano/tensor/nnet/abstract_conv.py", line 569, in bilinear_upsampling
row * ratio, col * ratio))
File "/usr/local/lib/python3.5/site-packages/theano/tensor/var.py", line 327, in reshape
return theano.tensor.basic.reshape(self, shape, ndim=ndim)
File "/usr/local/lib/python3.5/site-packages/theano/tensor/basic.py", line 4526, in reshape
newshape = as_tensor_variable(newshape)
File "/usr/local/lib/python3.5/site-packages/theano/tensor/basic.py", line 208, in as_tensor_variable
raise AsTensorError("Cannot convert %s to TensorType" % str_x, type(x))
theano.tensor.var.AsTensorError: ('Cannot convert (None, None, Elemwise{mul,no_inplace}.0, Elemwise{mul,no_inplace}.0) to TensorType', <class 'tuple'>)
from frrn.
Related Issues (20)
- Error running predict_frrn_a.py with the prerequisites mentioned in README HOT 1
- what is the point of chinati library? HOT 1
- Runnin predict without cityscape HOT 7
- Dependency Version Requirements? HOT 1
- input image is black HOT 3
- training batch size HOT 1
- Error Running predict on cityscapes with python 2.7 HOT 2
- The questions about prediction HOT 1
- init model HOT 2
- Chianti TypeError in train.py l264 HOT 2
- Dimensionality reduction before last RU's
- train with smaller image resolution
- Trying to evaluation with non cityscape image HOT 2
- ERROR Cannot create cuDNN spatial log softmax. HOT 1
- Adding in associative memory to the network structure
- Getting from cudnn HOT 1
- Predict on own image
- cuDNN spatial log softmax and Chianti C++ library HOT 3
- predict error: IndexError
- Theano and Lasagne version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frrn.