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

VC models PyPi package #9

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

VC models PyPi package #9

wants to merge 4 commits into from

Conversation

mathfac
Copy link
Contributor

@mathfac mathfac commented May 2, 2023

Implemented release of vc_models PyPi package:

  • Added version file with version specified.
  • Made setup.py file to use README for the package description and work well with teaser image.
  • Added package building script for easy release and update of the package.
  • Refactored vc_models use requirements.txt for dependencies.

Test plan:
Build the package on for Test PyPi: https://test.pypi.org/project/vc-models/

Installed and tested it with next commnads:
pip install -i https://test.pypi.org/simple/ vc-models

import vc_models
model,embd_size,model_transforms,model_info = vc_models.load_model(vc_models.VC1_LARGE_NAME)```

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 2, 2023
@SergioArnaud
Copy link
Contributor

@mathfac, when I try to run

pip install -i https://test.pypi.org/simple/ vc-models

I get

ERROR: Could not find a version that satisfies the requirement vc-models (from versions: 0.1.0.dev0, 0.1.0.dev1, 0.1.0.dev2, 0.1.0.dev3, 0.1.0.dev4, 0.1.0.dev5, 0.1.0.dev6, 0.1.0)
ERROR: No matching distribution found for vc-models

@@ -1,7 +1,7 @@
# @package hydra
run:
dir: /checkpoint/maksymets/vc/results/${hydra.job.name}/${oc.env:USER}/${WANDB.name}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These paths should not be here?

@@ -99,7 +99,7 @@ def rollout_from_init_states(
# DMC test
data_paths = pickle.load(
open(
"/checkpoint/maksymets/vc/datasets/dmc-expert-v0.1/dmc_reacher_easy-v1.pickle",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are these paths hardcoded?

@@ -4,6 +4,6 @@ run:
dir: ./outputs/${hydra.job.name}/${now:%Y-%m-%d}_${now:%H-%M-%S}
subdir: ${hydra.job.num}_${hydra.job.override_dirname}
sweep:
dir: /checkpoint/maksymets/vc/results/${hydra.job.name}/${oc.env:USER}/${now:%Y-%m-%d}_${now:%H-%M-%S}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use local paths

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants