Code Monkey home page Code Monkey logo

bertmap's Issues

Missing dependencies

When I tried to reproduce the results, I found that BERTMap requires multiprocessing_on_dill, scikit-learn and textdistance to run. Please consider adding them in readme.

How to deal with the multiprocessing in win32?

Traceback (most recent call last):
File "run_bertmap.py", line 404, in
prepare_data(config=config_json)
File "run_bertmap.py", line 90, in prepare_data
data_params["cut"],
File "D:\PycharmProjects\BERTMap\bertmap\onto\onto_box.py", line 47, in init
self.onto = get_ontology(f"file://{onto_file}").load()
File "D:\Python\Python37\lib\site-packages\owlready2\namespace.py", line 972, in load
try: new_base_iri = self.graph.parse(fileobj, default_base = self._orig_base_iri, **args)
File "D:\Python\Python37\lib\site-packages\owlready2\driver.py", line 256, in parse
multiprocessing.Process(target = do_parse).start()
File "D:\Python\Python37\lib\multiprocessing\process.py", line 112, in start
self._popen = self._Popen(self)
File "D:\Python\Python37\lib\multiprocessing\context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "D:\Python\Python37\lib\multiprocessing\context.py", line 322, in _Popen
return Popen(process_obj)
File "D:\Python\Python37\lib\multiprocessing\popen_spawn_win32.py", line 89, in init
reduction.dump(process_obj, to_child)
File "D:\Python\Python37\lib\multiprocessing\reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
AttributeError: Can't pickle local object 'BaseSubGraph.parse..do_parse'

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.