catch up with changes, mainly construct primary dataset

[?]
AEj8dahVWy718uSSFPe9VSRJ5qX5G8pC2zvFzJJ8yzBd
Dec 14, 2023, 11:14 PM
3FAESP6NBZJHKN6VSGENUMZXPID6O5CGNQ3NHJC5Z3YXTAXJVWVAC

Dependencies

  • [2] BOPNWZL4 refactored Skraak.jl into sub files, tidy now
  • [3] NV7FXZ5Q first commit
  • [4] U46LDPL7 added model, CUDA works again now on ubuntu
  • [5] EDYR5C55 fixed ConstructPrimaryDataSet, licence date, Readme, re-arranged Predict.jl

Change contents

  • edit in src/Train.jl at line 29
    [3.336312]
    [3.336312]
  • replacement in src/Train.jl at line 31
    [3.336379][3.336379:336642]()
    train("Test", 2, glob_pattern, false)
    train("Test2", 2, glob_pattern, "/media/david/SSD1/model_K1-3_CPU_epoch-10-0.9965-2023-10-18T17:32:36.747.jld2")
    train("Test3", 2, glob_pattern, "/Volumes/SSD1/model_DFMN1-1_CPU_epoch-11-0.9126-2023-10-20T08:42:32.533.jld2")
    [3.336379]
    [3.336642]
    model = "/media/david/SSD1/model_K1-4_CPU_epoch-10-0.984-2023-11-20.jld2"
    train("Test", 2, glob_pattern, model)
  • edit in src/ConstructPrimaryDataset.jl at line 1
    [3.375124][3.375125:375126](),[3.375126][3.23:48]()
    ### WORK IN PROGRESS ###
  • edit in src/ConstructPrimaryDataset.jl at line 4
    [2.2530]
    [3.375170]
    function make_dataset(input_file::String, output_path::String="/media/david/SSD2/PrimaryDataset/kiwi_set/")
    @info "This could take some time.\nFirst we move audio files.\nThen we make the spectrogram images."
    move_files(input_file, output_path) |>
    save_pngs()
    end
  • replacement in src/ConstructPrimaryDataset.jl at line 21
    [2.2951][3.5050:5082](),[3.375599][3.5050:5082]()
    function move_files_to_dataset(
    [2.2951]
    [3.5082]
    function move_files(
  • replacement in src/ConstructPrimaryDataset.jl at line 23
    [3.5106][3.5106:5178]()
    output_path::String = "/media/david/SSD2/PrimaryDataset/kiwi_set/",
    [3.5106]
    [3.5178]
    output_path::String
  • edit in src/ConstructPrimaryDataset.jl at line 36
    [3.5729]
    [3.5729]
    @info "Moving files..."
  • edit in src/ConstructPrimaryDataset.jl at line 58
    [3.6366]
    [3.6366]
    @info "Making spectrogram images..."