Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sampler issue under Windows #253

Open
lucasgautheron opened this issue Jul 9, 2021 · 0 comments
Open

Sampler issue under Windows #253

lucasgautheron opened this issue Jul 9, 2021 · 0 comments
Labels
bug Something isn't working windows

Comments

@lucasgautheron
Copy link
Collaborator

lucasgautheron commented Jul 9, 2021

Is your feature request related to a problem? Please describe.

This issue seems to be related to multithread. A temporary solution would be to have it off by default on windows.

$ child-project sampler align-vandam/inputs/vandam-data/ sampler/ high-volubility --annotation-set CHA --metric awc --windows-length 60000 --windows-count 5
Process SpawnPoolWorker-1:
Traceback (most recent call last):
  File "c:\users\apfelsaft\python\python38\lib\multiprocessing\process.py", line 315, in _bootstrap
    self.run()
  File "c:\users\apfelsaft\python\python38\lib\multiprocessing\process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "c:\users\apfelsaft\python\python38\lib\multiprocessing\pool.py", line 114, in worker
    task = get()
  File "c:\users\apfelsaft\python\python38\lib\multiprocessing\queues.py", line 358, in get
    return _ForkingPickler.loads(res)
  File "c:\users\apfelsaft\python\python38\lib\site-packages\ChildProject\pipelines\__init__.py", line 1, in <module>
    from .samplers import SamplerPipeline
  File "c:\users\apfelsaft\python\python38\lib\site-packages\ChildProject\pipelines\samplers.py", line 17, in <module>
    class Sampler(ABC):
  File "c:\users\apfelsaft\python\python38\lib\site-packages\ChildProject\pipelines\samplers.py", line 19, in Sampler
    project: ChildProject.projects.ChildProject,
AttributeError: module 'ChildProject' has no attribute 'projects'
@lucasgautheron lucasgautheron added bug Something isn't working enhancement New feature or request and removed enhancement New feature or request labels Jul 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working windows
Projects
None yet
Development

No branches or pull requests

1 participant