[Python] How to download my model weights from kaggle working dir to my local machine

Discussão em 'Python' iniciado por Stack, Agosto 25, 2025.

  1. Stack

    Stack Membro Participativo

    I'm having problems downloading my model weights from kaggle after training. I tried this :

    import shutil
    from google.colab import files

    weights_dir = "/kaggle/working/runs/detect/train/weights"

    shutil.make_archive(weights_dir, "zip", weights_dir)

    files.download(weights_dir+".zip")


    And it work only chrome but I'm using Brave.

    Any alternative solutions to this ?

    Continue reading...

Compartilhe esta Página