-
-
Notifications
You must be signed in to change notification settings - Fork 333
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
60 minute blitz not wokring - trainimgs and valimgs not defined #322
Comments
I think this is broken with the current Metalhead release. Could you try with |
I just tried with the correct enviroment activated and instantiated. So the example works. But it should still be updated, right? To lower the barrier of entry - I am not sure if the people finding their way to the introduction all are comfortable with cloning Git-repos and juggling new enviroments in Julia. |
Absolutely. I think this should be something we get back into metalhead, since it's good for user convenience, and the api looks right as well. |
Cool. Would it be too much to make an issue over there, asking for it to be added again, with a reference to this conversation? |
Can do that. Ideally we wouldn't want to add more deps, but have an simple implementation for data preprocessing etc like we used to. |
These functions already exist in MLDatasets.jl. Metalhead.jl was intentionally stripped down to just the models to reduce feature duplication across packages. Instead, the tutorial should be updated to use MLDatasets.jl. |
Also, running the line (Running
How can I go through the tutorial? |
Use Metalhead v0.5 |
Doing > ]add Metalhead@0.5
> using Metalhead: trainimgs returns the same error ( Doing > ]add Metalhead@0.5.0 returns an incompatibility error with Flux ERROR: Unsatisfiable requirements detected for package Flux [587475ba]:
Flux [587475ba] log:
├─possible versions are: 0.4.1-0.12.8 or uninstalled
├─restricted to versions * by an explicit requirement, leaving only versions 0.4.1-0.12.8
├─restricted by compatibility requirements with Metalhead [dbeba491] to versions: 0.10.0-0.10.4
│ └─Metalhead [dbeba491] log:
│ ├─possible versions are: 0.3.0-0.6.1 or uninstalled
│ └─restricted to versions 0.5.0 by an explicit requirement, leaving only versions 0.5.0
└─restricted by compatibility requirements with CuArrays [3a865a2d] to versions: [0.4.1-0.8.3, 0.11.0-0.12.8] or uninstalled — no versions left
└─CuArrays [3a865a2d] log:
├─possible versions are: 0.2.1-2.2.2 or uninstalled
└─restricted by julia compatibility requirements to versions: uninstalled
|
Simply changing the package name will not work. Please see the updated tutorial at https://fluxml.ai/tutorials/2020/09/15/deep-learning-flux.html. |
This should be |
From the 60-minute blitz:
However, I get the following error:
So the example is not functional.
The text was updated successfully, but these errors were encountered: