Git Product home page Git Product logo

tagger's People

Contributors

ae86208 avatar antticai avatar hotloo avatar jrosti avatar rinuboney avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tagger's Issues

GPU support and environment.yml?

I am having trouble running the experiments on the GPU inside of the anaconda environment which is installed using the provided install.sh

When I run THEANO_FLAGS=device=cuda0 python ./runner-shapes50k20x20.py, then I get the error:

ERROR (theano.sandbox.gpuarray): pygpu was configured but could not be imported
Traceback (most recent call last):
  File "/home/ricson/.conda/envs/tagger/lib/python2.7/site-packages/theano/sandbox/gpuarray/__init__.py", line 20, in <module>
    import pygpu
ImportError: No module named pygpu

This would be because pygpu is not specified in the environment.yml file. Furthermore, installing pygpu 0.7.5 via conda would result in the error:

ERROR (theano.sandbox.gpuarray): Could not initialize pygpu, support disabled
Traceback (most recent call last):
  File "/home/ricson/.conda/envs/tagger/lib/python2.7/site-packages/theano/sandbox/gpuarray/__init__.py", line 95, in <module>
    init_dev(config.device)
  File "/home/ricson/.conda/envs/tagger/lib/python2.7/site-packages/theano/sandbox/gpuarray/__init__.py", line 46, in init_dev
    "Make sure Theano and libgpuarray/pygpu "
RuntimeError: ('Wrong major API version for gpuarray:', 2, 'Make sure Theano and libgpuarray/pygpu are in sync.')

because it seems like a specific version of pygpu is needed to support theano 0.8.2, and I don't know exactly which version of pygpu is needed.

I have some running problems

I am a student, I recently run your program but there was a mistake, I personally think that my version of the machine environment and you are some different, can you run the version of the environment tell me.
Then I put the results of the operation paste, I think the last line is the key to the problem.

thank you!

Building graphs
Traceback (most recent call last):
File "runner-shapes50k20x20.py", line 25, in
experiment = TaggerExperiment(p)
File "/home/jw/git_workspace/tagger/tagger/tagger_exp.py", line 29, in init
self.tagger = Tagger.create_tagger(self.p)
File "/home/jw/git_workspace/tagger/tagger/tagger.py", line 36, in create_tagger
tagger.apply()
File "/home/jw/git_workspace/tagger/tagger/tagger.py", line 128, in apply
self.clean.update(self.apply_tagger(x_only, False))
File "/home/jw/git_workspace/tagger/tagger/tagger.py", line 303, in apply_tagger
ami_score, ami_score_per_sample = self.mask_accuracy(self.masks_unlabeled, m_hat)
File "/home/jw/git_workspace/tagger/tagger/tagger.py", line 439, in mask_accuracy
ami_score_per_sample = ami_score_op(mask_true[0], mask_est)
File "/home/jw/.conda/envs/tagger/lib/python2.7/site-packages/theano/gof/op.py", line 611, in call
node = self.make_node(*inputs, **kwargs)
File "/home/jw/.conda/envs/tagger/lib/python2.7/site-packages/theano/gof/op.py", line 993, in make_node
(str([inp.type for inp in inputs]), str(self.itypes)))
TypeError: We expected inputs of types '[TensorType(float32, 3D), TensorType(float64, 3D)]' but got types '[TensorType(float32, 3D), TensorType(float32, 3D)]'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.