catch up commit before starting work
Dependencies
- [2]
E3Y55MPRadded perceptual colour maps and changed get_image_from_sample - [3]
NV7FXZ5Qfirst commit - [4]
RBXUHIO2made somn small changes and reverted them mostly - [5]
ROFI4OLAcatch up, working on colour images - [6]
3FAESP6Ncatch up with changes, mainly construct primary dataset - [7]
NMQCXLNGcatch up commit, about to do some work on prediction loop - [8]
U46LDPL7added model, CUDA works again now on ubuntu - [9]
EDYR5C55fixed ConstructPrimaryDataSet, licence date, Readme, re-arranged Predict.jl - [10]
2UBDFCJHnew files tracked
Change contents
- replacement in src/Train.jl at line 28
train("K1-7_R50", 20, glob_pattern, true, 0.90, 32)train("K1-8_Colour", 20, glob_pattern, true, 0.90, 64) - replacement in src/Train.jl at line 233
fst = Metalhead.ResNet(50, pretrain = pretrain).layerslst = Flux.Chain(AdaptiveMeanPool((1, 1)), Flux.flatten, Dense(2048 => classes))fst = Metalhead.ResNet(18, pretrain = pretrain).layerslst = Flux.Chain(AdaptiveMeanPool((1, 1)), Flux.flatten, Dense(512 => classes)) - replacement in src/Train.jl at line 245
f = Metalhead.ResNet(50, pretrain = false).layersl = Flux.Chain(AdaptiveMeanPool((1, 1)), Flux.flatten, Dense(2048 => model_classes))f = Metalhead.ResNet(18, pretrain = false).layersl = Flux.Chain(AdaptiveMeanPool((1, 1)), Flux.flatten, Dense(512 => model_classes)) - replacement in src/Train.jl at line 253
lst = Flux.Chain(AdaptiveMeanPool((1, 1)), Flux.flatten, Dense(2048 => classes))lst = Flux.Chain(AdaptiveMeanPool((1, 1)), Flux.flatten, Dense(512 => classes)) - replacement in src/Predict.jl at line 33
model = "/media/david/SSD2/PrimaryDataset/model_K1-7_CPU_epoch-17-0.9126-2024-02-04.jld2"model = "/media/david/SSD2/PrimaryDataset/model_K1-7_R50_CPU_epoch-20-0.9136-2024-02-07.jld2"model = "/media/david/SSD2/PrimaryDataset/model_K1-8_Colour_CPU_epoch-14-0.9129-2024-02-16.jld2" - replacement in src/Predict.jl at line 61
f = Metalhead.ResNet(50, pretrain = false).layersl = Flux.Chain(AdaptiveMeanPool((1, 1)), Flux.flatten, Dense(2048 => model_classes))f = Metalhead.ResNet(18, pretrain = false).layersl = Flux.Chain(AdaptiveMeanPool((1, 1)), Flux.flatten, Dense(512 => model_classes)) - edit in src/Predict.jl at line 208
#= not needed - replacement in src/Predict.jl at line 213
x -> collect(channelview(float32.(x))) |># x -> collect(channelview(float32.(x))) |> - edit in src/Predict.jl at line 218
=# - replacement in src/Predict.jl at line 232
raw_images = ThreadsX.map(x -> get_image_for_inference(x, f), split_signal)raw_images = ThreadsX.map(x -> get_image_from_sample(x, f), split_signal) - replacement in src/Clips.jl at line 209
x -> RGB.(x) |>x -> imresize(x, 224, 224)#x -> RGB.(x) |>x -> imresize(x, 224, 224) |>x -> Float32.(x)