Comments (6)
Have pushed a commit that should fix this - my density model estimation code was using a numpy feature that is now depreciated. High risk of further issues of this nature elsewhere in the code, so please report them!
from helit.
Thanks! This is embarrassing, but I have limited experience with Python so it's tricky to get around.
Now I'm also getting this error message:
let.py:16: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk, Gdk, GdkPixbuf, Pango
from helit.
I think that is a warning and can be ignored? Does it otherwise work?
from helit.
It opens, but when I tried to click on the "scissor" icon I get this:
Calculating density model...
Calculating density map...
Regularising density map...
Traceback (most recent call last):
File "/home/ytan/Dev/handwriting/helit/handwriting/let/let.py", line 743, in __threshold_visible
self.run_threshold()
File "/home/ytan/Dev/handwriting/helit/handwriting/let/let.py", line 690, in run_threshold
density = threshold.density_median(density, 2, 1.0)
File "/home/ytan/Dev/handwriting/helit/handwriting/let/threshold.py", line 190, in density_median
weave.inline(code, ['density', 'ret', 'radius', 'exp_weight'], support_code=support)
NameError: global name 'weave' is not defined
from helit.
It appears scipy.weave was available in version 18 but has now been depreciated in 19, which is extremely annoying. You should be able to install weave from https://github.com/scipy/weave or using "pip install weave", though might have to adjust the import statement as I'm not sure if its package name remains the same.
from helit.
I'll give that a go. Thanks!
from helit.
Related Issues (16)
- possible bug in wishart sampler HOT 3
- ValueError - Numpy?
- Requirements (let dependancies)
- about the import path
- help needed -- just getting started HOT 3
- Windows?
- Need to upgrade project to Python3 or a documentation for requirements
- Issues compiling files HOT 4
- The result model varies for each run
- License clarification requested HOT 2
- cost_proxy error on Handwriting synthesis generate HOT 1
- Installing ? HOT 7
- How to build C modules while using virtualenv
- TypeError: Couldn't find foreign struct converter for 'cairo.Context' HOT 2
- import error : cannot import name weave HOT 8
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 helit.