From 1fd4f4e2b74061a1b265c9ae771d0fad6184452b Mon Sep 17 00:00:00 2001 From: Anant Thazhemadam Date: Fri, 3 Nov 2023 13:06:22 +0000 Subject: [PATCH] build(deps): replace Flux dependency with OneHotArrays Replace Flux, which is a pretty big dependency, with the much more lightweight and specialized OneHotArrays. --- Project.toml | 3 +-- src/codecs/onehotonecold.jl | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Project.toml b/Project.toml index 4c631fb9..45d18081 100644 --- a/Project.toml +++ b/Project.toml @@ -7,9 +7,9 @@ version = "0.7.1" AtomsBase = "a963bdd2-2df7-4f54-a1ee-49d51e6be12a" CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b" DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" -Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c" JSON3 = "0f8b85d8-7281-11e9-16c2-39a750bddbf1" LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" +OneHotArrays = "0b1bfda6-eb8a-41d2-88d8-f5af5cad476f" Serialization = "9e88b42a-f829-5b0c-bbe9-9e923198166b" SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" @@ -17,7 +17,6 @@ SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" AtomsBase = "0.3" CSV = "0.7, 0.8, 0.9, 0.10" DataFrames = "0.21, 0.22, 1.0, 1.1" -Flux = "0.11, 0.12, 0.13" JSON3 = "1.9" julia = "1.6, 1.7" diff --git a/src/codecs/onehotonecold.jl b/src/codecs/onehotonecold.jl index 8a49505a..ff253f67 100644 --- a/src/codecs/onehotonecold.jl +++ b/src/codecs/onehotonecold.jl @@ -1,4 +1,4 @@ -using Flux: onecold +using OneHotArrays: onecold include("onehotonecold_utils.jl")