question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pip install is outdated?

See original GitHub issue

the pip3 install ax-platform seems to be outdated. e.g. in ax/utils/tutorials/cnn_utils.py has different train and load_mnist functions compared to whats there on this github

def train(
    train_loader: DataLoader,
    parameters: Dict[str, float],
    dtype: torch.dtype,
    device: torch.device,
) -> nn.Module:

will throw error *** TypeError: train() got an unexpected keyword argument 'net' if I follow the tutorial on https://ax.dev/versions/latest/tutorials/tune_cnn.html net = train(net=net, train_loader=train_loader, parameters=parameterization, dtype=dtype, device=device)

Similarly train_loader, valid_loader, test_loader = load_mnist(batch_size=BATCH_SIZE) will also throw error

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
Balandatcommented, Jul 31, 2019

The pip version is always the latest release and not meant to be up to date with the github master. You can find the tutorial for the current pip version here: https://ax.dev/versions/0.1.2/tutorials/tune_cnn.html

If you want to live on the bleeding edge and run the tutorial off master, you need to install Ax from the github master.

0reactions
kkashincommented, Aug 4, 2019

Website versioning is fixed now, closing out the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

outdated - PyPI
This is a mini-library which, given a package name and a version, checks if it's the latest version available on PyPI. To install:...
Read more >
How to upgrade all Python packages with pip? - Stack Overflow
txt, and replace all '==' with '>='. Use the 'Replace All' command in the editor. 3 - Upgrade all outdated packages pip install...
Read more >
How to Update All Python Packages - ActiveState
Use the 'Replace All' command in the editor. Upgrade all outdated packages: pip install -r requirements.txt --upgrade. Updating all Packages in ...
Read more >
The one-liner for updating PIP and all outdated packages
Since pip freeze only outputs the installed packages in requirements format, but not pip itself, we must run pip list --format=freeze instead.
Read more >
enable pip to upgrade all outdated packages #3819 - GitHub
Description: I would like pip to upgrade all outdated packages identified by pip list --outdated in one simple command. It would also be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found