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

conda environment.yml #1

Open
mateuszwyszynski opened this issue Jan 27, 2024 · 2 comments
Open

conda environment.yml #1

mateuszwyszynski opened this issue Jan 27, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@mateuszwyszynski
Copy link
Owner

mateuszwyszynski commented Jan 27, 2024

We need a proper requirements for conda installation. Currently the installation through the requirements.txt file does not work and the "from scratch" installation mixes installation though pip and conda. This is ok, but:

  • maybe we can install everything using conda - this is most likely the most recommended scenario, because we use one package manager
  • if not, we should at least do the installation using conda and pip in the officially recommended order, i.e. first install as much as possible through conda and only then start installations using pip
@mateuszwyszynski mateuszwyszynski added the enhancement New feature or request label Jan 27, 2024
@mateuszwyszynski mateuszwyszynski self-assigned this Jan 27, 2024
@mateuszwyszynski
Copy link
Owner Author

mateuszwyszynski commented Jan 27, 2024

Moreover, there are some additional installs which are necessary (they pop up when trying to run different scripts) and are not covered during the installation process:

  • tensorboard
  • ipdb
  • sklearn

@mateuszwyszynski
Copy link
Owner Author

mateuszwyszynski commented Feb 18, 2024

Ok, as far as I know smplx cannot be installed through conda, so pip has to be used. Nevertheless we should create a working environment.yml file. The current version works on my machine, but it does not work on VM instances on GCP. On the date of this comment, there is new a section in INSTALL.md which goes through the steps needed to install everything on GCP (and in general from scratch on, in theory, any machine). But this is still messy.

Most likely all of the comments above will have to be revised when I'm done with cleaning up the code. Hopefully we will be able to throw out some packages. Or at least separate things used for presenting (e.g. like the current jupyter install I believe) from the things needed for the model itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant