Giter VIP home page Giter VIP logo

unmasking's Issues

Bug

Hey and hallo,

Thank you for sharing your code! I am so happy that you built it in Python and shared it!

But I got an error while trying the test: ./unmask run examples/gutenberg_test/job.yml

The repository is quite big, and I would be happy to help me fix it. I just started trying to understand the whole process you have built. I wanted to use it for a current semester project.

The error is containing the following:

Generating pairs: 6pair(s) [00:04, 1.77pair(s)/s]WARNING: Aborting curve aggregation which blocked for more than 40 seconds. This is probably a bug.
Future exception was never retrieved
future: <Future finished exception=RuntimeError('Cannot publish without initialized MultiProcessingContext')>
concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
File "/Users/anna/opt/anaconda3/lib/python3.8/concurrent/futures/process.py", line 239, in _process_worker
r = call_item.fn(*call_item.args, **call_item.kwargs)
File "/Users/anna/Documents/GitHub/unmasking/authorship_unmasking/job/executors.py", line 164, in _exec
loop.run_until_complete(strat.run(feature_set))
File "/Users/anna/opt/anaconda3/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/Users/anna/Documents/GitHub/unmasking/authorship_unmasking/unmasking/strategies.py", line 47, in run
await super().run(fs)
File "/Users/anna/Documents/GitHub/unmasking/authorship_unmasking/unmasking/interfaces.py", line 196, in run
await EventBroadcaster().publish("onUnmaskingRoundFinished", event, self.class)
File "/Users/anna/Documents/GitHub/unmasking/authorship_unmasking/event/dispatch.py", line 130, in publish
raise RuntimeError("Cannot publish without initialized MultiProcessingContext")
RuntimeError: Cannot publish without initialized MultiProcessingContext
"""
The above exception was the direct cause of the following exception:

RuntimeError: Cannot publish without initialized MultiProcessingContext
Future exception was never retrieved
future: <Future finished exception=RuntimeError('Cannot publish without initialized MultiProcessingContext')>
concurrent.futures.process._RemoteTraceback:
"""

Thanks in advance!
Beste regards,
Anna Sophia

Bug

Hey,

first of all: thank you for sharing your code!

I directly tried to run it via "./unmask` run examples/gutenberg_test/job.yml", but it results in the following error:

Traceback (most recent call last):
File "./app/unmask.py", line 101, in
main()
File "./app/unmask.py", line 82, in main
run_in_event_loop(executor.run(config_loader, args.output))
File "/.../authorship_unmasking/util/util.py", line 112, in run_in_event_loop
loop.run_until_complete(future)
File "/.../anaconda3/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete
return future.result()
File "/.../authorship_unmasking/util/util.py", line 90, in base_coroutine
return await cr
File "/.../authorship_unmasking/job/executors.py", line 89, in run
await self._run_configuration(executor, config_index, vector, config_variables, job_id, output_dir)
File "/.../authorship_unmasking/job/executors.py", line 146, in _run_configuration
await output.save(config_output_dir)
File "/.../authorship_unmasking/output/formats.py", line 359, in save
output.add_curve(c, **self._curves[c])
TypeError: add_curve() missing 1 required positional argument: 'values'

Best regards,
Benedikt

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.