-
Notifications
You must be signed in to change notification settings - Fork 41
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
Installation error #187
Comments
Hi sorry about that! Any details what your process has been? Just pip install from pypi or a local? |
I just used pip install cca-zoo. But, I think its having a problem with building a wheel |
I'm just making a couple of changes to not require torch install as I suspect that could cause some problems (regardless of whether it fixes this specific one!) any other error messages would be helpful if you have them |
ok new version just released 2.5.0 doesn't require matplotlib (or pytorch another big dependency previously). Think this should fix your problem :) |
It did solve the issue. Thank you so much. |
No problem was lucky I happened to be trying to reduce dependencies - this version also imports A LOT quicker 😃 |
Is this repo still active? Are installs working for others? I'm trying the getting started code in google colab and get errors suggesting that files are missing or renamed...
` data = LinearSimulatedData(view_features=[10,10],latent_dims: int = 2) model = CCA(latent_dimensions=2) results = model.transform(views)` File "", line 7 ` data = LinearSimulatedData(view_features=[10,10],latent_dims= 2) model = CCA(latent_dimensions=2) results = model.transform(views)` ModuleNotFoundError Traceback (most recent call last) ModuleNotFoundError: No module named 'cca_zoo.data' NOTE: If your import is failing due to a missing package, you can To view examples of installing some common dependencies, click the `from cca_zoo.models import CCA import numpy as np train_view_1 = np.random.normal(size=(100, 10)) train_view_1 -= train_view_1.mean(axis=0) latent_dimensions = 3 linear_cca.fit((train_view_1, train_view_2))` ModuleNotFoundError Traceback (most recent call last) ModuleNotFoundError: No module named 'cca_zoo.models' NOTE: If your import is failing due to a missing package, you can To view examples of installing some common dependencies, click the
|
Keeping an eye on it - the problem here is more likely related to me documenting things incorrectly |
Ok, thanks for the crazy fast reply! Would it be possible to give me a working snippit in the meantime? |
Yeah do you know what you're trying to do? What was your original attempt based on? I know it's roughly under cca_zoo.datasets now (part of my ongoing (finished?) attempts to sync with scikit-learn) |
The first question so I can do a snippet the second so I know where the misleading documentation/example lives! |
I just want to run linear CCA, regularized CCA, and deep CCA to start. If I'm not mistaken, none of your example install and run code snippits work right now... The exact code I ran in google colab is above. The installs complete without errors but the imports are all broken. |
Cool thanks! I'll take a look at these as soon as I get the chance (maybe next couple of days) - in the meantime you can just use numpy arrays/your own data. Basically I updated the namespace for the data stuff without updating the docs! Appreciate you pointing these out |
I tried to install cca-zoo several times but I keep getting errors like "python setup.py bdist_wheel did not run successfully".
The text was updated successfully, but these errors were encountered: