Giter VIP home page Giter VIP logo

macau's People

Contributors

adamgld avatar fujirock avatar jaak-s avatar tvandera 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

macau's Issues

openBLAS not found

Hi,
I installed OpenBLAS, but the setup.py didn't find it.

The problem is that I didnt install OpenBLAS to any of the presumed locations (/opt/... or /usr/...) in setup.py (defined in the ldirs variable) because I have no permission to install there.

As a user I only get the error message,
/usr/bin/ld: cannot find -lopenblas

Once I added modified the ldirs variable and added the correct OpenBLAS path, this issue was solved.

please consider adding a better error message, or maybe highlight in the installation process, that OpenBLAS has to be installed to a certain location.
thanks for considering, let's save some time for others.
best,
Attila

Saving of latent vectors to CSV

Option for saving latent vectors to CSV files save_prefix = "results". By default set it to save_prefix = None (no saving).

segfault on mac

Hi Jaak,

I wanted to run v0.4.3 on mac, but is segfaults. v0.3.6 runs fine. I'll do a git bisect to find the regression.

I'll keep you posted,
Tom

Issue installing macau on Mac OS

Hi,

I am trying to install macau on Mac OS Mojave and I get the following errors:

CON-MAC-001:macau$ python3 setup.py install
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
ld: warning: directory not found for option '-L/usr/lib/openblas-base'
ld: library not found for -lcrt1.10.6.o
collect2: error: ld returned 1 exit status
libopenblas link error (please install OpenBLAS)
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/var/folders/4c/sdcfgdcx7gv5fwbyt_mk2_p0jl5njs/T/tmp_blas_3rm15mqk/test_lapack.cpp:2:19: fatal error: stdio.h: No such file or directory
compilation terminated.
libopenblas lapack compile error (please install OpenBLAS)
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
ld: warning: directory not found for option '-L/usr/lib/openblas-base'
ld: library not found for -lcrt1.10.6.o
collect2: error: ld returned 1 exit status
libopenblas link error (please install OpenBLAS)
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/var/folders/4c/sdcfgdcx7gv5fwbyt_mk2_p0jl5njs/T/tmp_blas_g6hqmmvy/test_lapack.cpp:2:19: fatal error: stdio.h: No such file or directory
compilation terminated.
libopenblas lapack compile error (please install OpenBLAS)
OpenBLAS or standard BLAS not found. Please install.

I have OpenBLAS installed. The current version does not generate this directory '-L/usr/lib/openblas-base' but I think I have all the libraries. I also have gcc5 and gcc7 installed.
Would you be able to advise?

Kind regards,
Miguel

Problems installing in macos 10.12.6

Hello,

I am following the instructions

Command executed after installing brew install blass

calderon-ml:macau calderon$ export CPPFLAGS=-I/usr/local/Cellar/openblas/include
calderon-ml:macau calderon$ export LDFLAGS=-L/usr/local/Cellar/openblas/lib
calderon-ml:macau calderon$ CC=g++-5 CXX=g++-5 python3 setup.py install
unable to execute 'g++-5': No such file or directory
libopenblas compile error (please install OpenBLAS)
unable to execute 'g++-5': No such file or directory
libopenblas lapack compile error (please install OpenBLAS)
unable to execute 'g++-5': No such file or directory
libopenblas compile error (please install OpenBLAS)
unable to execute 'g++-5': No such file or directory
libopenblas lapack compile error (please install OpenBLAS)
OpenBLAS or standard BLAS not found. Please install.
calderon-ml:macau calderon$ 

But I get the following error

unable to execute 'g++-5': No such file or directory
libopenblas compile error (please install OpenBLAS)
unable to execute 'g++-5': No such file or directory
libopenblas lapack compile error (please install OpenBLAS)
unable to execute 'g++-5': No such file or directory
libopenblas compile error (please install OpenBLAS)
unable to execute 'g++-5': No such file or directory
libopenblas lapack compile error (please install OpenBLAS)
OpenBLAS or standard BLAS not found. Please install.
calderon-ml:macau calderon$ 

Thank you very much for your help.

saving a model into HDF5

Hi,

Is it possible to dump a model into HDF5 file? The problem is when i try to dump 1500 samples with your function save_prefix the total disk space required is more than 10Gb!, because csv is not well-designed to store numerical values.

Upload to PyPI

It would be useful to upload this package to PyPI so other packages can list it as a requirement. In the meantime, ss of PEP 509 (I think) you can also add macau @ git+https://github.com/jaak-s/macau.git to a requirements.txt, setup.py, or setup.cfg to get around this

Sampling of precision

Add option precision = "sample" to automatically sample precision values. To avoid overfitting we need to also add a signal-to-noise bound sn_max (e.g., 10), so that precision would never go over that maximum bound.

error downloading eigen

Hello,

I am following the steps to install with pip and have all of the dependencies installed but when run pip install .
I get:
urllib.error.HTTPError: HTTP Error 403: Forbidden

here is some more of the stack trace:

File "setup.py", line 307, in
main()
File "setup.py", line 282, in main
download_eigen_if_needed(eigen_dest, eigen_url, eigen_inner)
File "setup.py", line 175, in download_eigen_if_needed
urlretrieve(url, bzfile)

Happy to provide more information about system configurations etc. but not sure what would help so just let me know. Thanks in advance for your help/time!

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.