Coder Social home page Coder Social logo

hvox's People

Contributors

joanrue avatar matthieumeo avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

hvox's Issues

FINUFFT related error when calling vis2dirty

/usr/local/lib/python3.10/dist-packages/pycsou/operator/linop/fft/nufft.py:2315: PerformanceWarning: 'z' order is sub-optimal given provided chunk specifiers.
'z' will be re-ordered internally to improve NUFFT performance.
The cost of re-ordering apply/adjoint inputs is significant when the number of non-uniform points x/z is large.
It is recommended to re-initialize <class 'pycsou.operator.linop.fft.nufft._NUFFT3_chunked'> where x/z [and apply/adjoint() inputs] are re-ordered.
See notes/examples provided in docstring of NUFFT.type3() for how to achieve this.
  warnings.warn(msg, pycuw.PerformanceWarning)
Traceback (most recent call last):
  File "/scratch/AARTFAAC_hvox_test/scripted_imager.py", line 108, in <module>
    sky_estimate = hvox.vis2dirty(uvw_l=uvw_lambda,
  File "/usr/local/lib/python3.10/dist-packages/hvox/core.py", line 127, in vis2dirty
    dirty = _nufft.nufft_vis2dirty(xyz=xyz_, uvw_lambda=uvw_, visibilities=vis, real=real, epsilon=epsilon,
  File "/usr/local/lib/python3.10/dist-packages/hvox/_nufft.py", line 85, in nufft_vis2dirty
    dirty = nufft.adjoint(input_data)
  File "/usr/local/lib/python3.10/dist-packages/pycsou/operator/linop/fft/nufft.py", line 2049, in wrapper
    return f(out)
  File "/usr/local/lib/python3.10/dist-packages/pycsou/util/array_module.py", line 81, in compute
    cargs = func(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/dask/base.py", line 595, in compute
    results = schedule(dsk, keys, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/dask/threaded.py", line 89, in get
    results = get_async(
  File "/usr/local/lib/python3.10/dist-packages/dask/local.py", line 511, in get_async
    raise_exception(exc, tb)
  File "/usr/local/lib/python3.10/dist-packages/dask/local.py", line 319, in reraise
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/dask/local.py", line 224, in execute_task
    result = _execute_task(task, data)
  File "/usr/local/lib/python3.10/dist-packages/dask/core.py", line 121, in _execute_task
    return func(*(_execute_task(a, cache) for a in args))
  File "/usr/local/lib/python3.10/dist-packages/pycsou/operator/linop/fft/nufft.py", line 2211, in _transform
    op = NUFFT.type3(**kwargs)
  File "/usr/local/lib/python3.10/dist-packages/pycsou/runtime/__init__.py", line 172, in wrapper
    out = func(**func_args)
  File "/usr/local/lib/python3.10/dist-packages/pycsou/operator/linop/fft/nufft.py", line 750, in type3
    op = klass(**init_kwargs)
  File "/usr/local/lib/python3.10/dist-packages/pycsou/operator/linop/fft/nufft.py", line 1745, in __init__
    bw=self._plan_bw(**kwargs) if _pbw else None,
  File "/usr/local/lib/python3.10/dist-packages/pycsou/operator/linop/fft/nufft.py", line 1823, in _plan_bw
    plan = finufft.Plan(
AttributeError: 'NoneType' object has no attribute 'Plan'

Reason: FINUFFT (optional dependency of pycsou) is missing.
Potential fix: FINUFFT needs to be installed separately or using a flag when installing pycsou.

Installing complications

I followed the instruction for installing hvox on Piz Daint, and I am running into some problems, which I think are related rascil installation.

More precisely, once I complete the installation, as suggested in the readme. I try to run the example_dcos.py but the following error message show a missing package:

ModuleNotFoundError: No module named 'ska_sdp_datamodels'

I am not sure if this is a package related to rascil, but since no information where given on the version required, I followed the instruction on their webpage:

Could you give more instructions on how and which version of rascil you need for hvox?

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.