pip install is outdated?
See original GitHub issuethe 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:
- Created 4 years ago
- Comments:5 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
Website versioning is fixed now, closing out the issue.