JuliaML / MLUtils.jl

Utilities and abstractions for Machine Learning tasks
MIT License
107 stars 22 forks source link

out of date compatibility #129

Closed Moelf closed 1 year ago

Moelf commented 1 year ago
(WVZAnalysisML) pkg> pin MLJFlux@0.2.9
   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package Metalhead [dbeba491]:
 Metalhead [dbeba491] log:
 ├─possible versions are: 0.3.0-0.7.3 or uninstalled
 ├─restricted by compatibility requirements with MLUtils [f1d291b0] to versions: 0.3.0-0.6.1 or uninstalled
 │ └─MLUtils [f1d291b0] log:
 │   ├─possible versions are: 0.1.0-0.3.0 or uninstalled
 │   └─restricted to versions 0.3.0 by an explicit requirement, leaving only versions 0.3.0
 └─restricted by compatibility requirements with MLJFlux [094fc8d1] to versions: 0.7.0-0.7.3 — no versions left
   └─MLJFlux [094fc8d1] log:
     ├─possible versions are: 0.1.0-0.2.9 or uninstalled
     └─restricted to versions 0.2.9 by an explicit requirement, leaving only versions 0.2.9

it's impossible to use the latest MLJFlux and MLUtils at the same time; somewhere in the compatibility here we're limiting Metalhead (idk why it's a dependency to begin with)

ablaom commented 1 year ago

I guess we're waiting for https://github.com/FluxML/Metalhead.jl/pull/204, so not really an MLUtils issue.

ablaom commented 1 year ago

MetalHead is a dependency of MLJFlux because the default ImageClassifier builder uses a MetalHead builder.