Giter VIP home page Giter VIP logo

geosolver's People

Contributors

clintelliotmalcolm avatar seominjoon 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

geosolver's Issues

geosolver

i using geosolver and geoserver.
when i run run.py , i got error

/anaconda/bin/python /Users/hy/WorkSpace/geos/geosolver-master-2/geosolver/database/run_database.py accessing: http://localhost:8000/questions/list/aaai Traceback (most recent call last): File "/Users/hy/WorkSpace/geos/geosolver-master-2/geosolver/database/run_database.py", line 47, in <module> save_questions('aaai') File "/Users/hy/WorkSpace/geos/geosolver-master-2/geosolver/database/run_database.py", line 24, in save_questions questions = geoserver_interface.download_questions(query) File "/Users/hy/WorkSpace/geos/geosolver-master-2/geosolver/database/geoserver_interface.py", line 34, in download_questions data = json.loads(r.text, object_hook=_decode_dict) File "/anaconda/lib/python2.7/json/__init__.py", line 352, in loads return cls(encoding=encoding, **kw).decode(s) File "/anaconda/lib/python2.7/json/decoder.py", line 364, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/anaconda/lib/python2.7/json/decoder.py", line 382, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded

geosolver

when I run the code, I can not get the data from your server through geoserver_interface. Can you share the server address which can get the datas to run the code.

regarding data compatibility

I am having some issues while running the GeoServer. So, I downloaded the JSON files from https://s3-us-west-2.amazonaws.com/geosolver-server/dump/68bd697ca57cdac1f2738a8d7e468fdccd7e5545/questions.json,
https://s3-us-west-2.amazonaws.com/geosolver-server/dump/68bd697ca57cdac1f2738a8d7e468fdccd7e5545/labels.json,
https://s3-us-west-2.amazonaws.com/geosolver-server/dump/68bd697ca57cdac1f2738a8d7e468fdccd7e5545/semantics.json.

This is not in the format in which the code expects. I directly want to feed this data instead of fetching from the server. Can someone share the format of a question, semantics and label record Or the data files in the right format?

@seominjoon , @eunsol , @codeviking @mbforbes @ClintElliotMalcolm

How to obtain label data for new problems

Geosolver requires the input of label data. However, currently, the label data is reading from the server. For a new problem that does not have label data. How do we generate it?

[{'y': 76, 'x': 135, 'type': 'angle angle', 'label': '55'}, {'y': 76, 'x': 242, 'type': 'angle angle', 'label': '75'}, {'y': 141, 'x': 204, 'type': 'angle angle', 'label': 'x'}]

Failed assert with multiple circles

With declarations as simple as:

from geosolver.solver.variable_handler import VariableHandler
from geosolver.solver.numeric_solver import NumericSolver

vh = VariableHandler()
A = vh.point('A')
B = vh.point('B')
AO = vh.circle(A)
BO = vh.circle(B)

I'm getting a failed assert:

Traceback (most recent call last):
  File "geosolve.py", line 8, in <module>
    BO = vh.circle(B)
  File ".../geosolver/solver/variable_handler.py", line 52, in circle
    r = self.number(r_name, init=init)
  File ".../geosolver/solver/variable_handler.py", line 17, in number
    assert name not in self.variables
AssertionError

If I comment out the second circle declaration, it works fine. I'm not having trouble with lines or anything else.

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.