Skip to content

Questions about pretraining and fine tuning #7

@kobrafarshidi

Description

@kobrafarshidi

Hi.
Thanks for great code.
First of all , I am so sorry if my questions are very simple and basic.
In the continue of checking your code I encounter an error and encounter some questions. I'd appreciate it if you could help me with it.

  1. Is LaTr TextVQA Training with WandB 💥 the final program for finetuning? if yes ,when I start running LaTr TextVQA Training with WandB 💥 should I run LaTr_PreTraining before it? if no and it doesn't need , where is it?(because I think it is comment and No run and I think there isn't the result of pretraining in finetuning) if yes , Should I have to pre-run that with source #run LaTr_PreTraining ?I think there is not pretraining for finetuning Or maybe I'm wrong ?if I am wrong where is pre_training used in finetuning script?
  1. which line code is training the final model and fine tuning and take a long time?
  1. how could I test and predict our model? could I have that source?
  1. I encountered an error in part of code execution in script LaTr TextVQA Training with WandB 💥 and I send that error. Do you have any suggest for it? It is worth mentioning that I am running code in colab because I can't run code in kaggle in our country and I change wandb with code . Is this the reason for couldn't seeing checkpoints and trainer.fit not working?
%pip install -q wandb
import wandb
wandb.login()

The error is in the following line and I think This error made me unable to see progress train , checkpoint . I'd appreciate it if you could help me very much and give me a guidance.

if __name__ == "__main__":
    main()
Downloading: "https://www.kaggleusercontent.com/kf/99663112/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..GfuZWkqwWi9nROCTnAS3OQ.YowTb3CNlES2WS_F6BvOSrGs3uLWc2kSBkhElYUcndML0Feuiizdu8trA2e4aj_kdluv1nYlVpS3_86VaJfgSBtyJShQoB0CyxCqdvdMiKl4eQQdWUv2XrTBecEJPXupdFaElzr57CcRjpz35rueyDjf3GVJLznkpSdoyWwSxoxCACbUpS73PKWi97WHfPmEWQgXTDxT_Uno_Pau6fayKyzJ-vWrETzOA2Z6f1-i7umK48D7JBQacS2g_40dW8wIH34QsztCZhHOake7qZnXU_19qaFeDQCNldZ4HcGAmKMtqYI_NK_By370IZ6OHe5Q-mh1f_9SaZoXCzzgaNx4Wsw1THZgzSjZgP2dTLP6a4ZkjHFWiZdkl0azvmoCmSVVYbRdQ9_iI9sFvhUpDWj1bOlr-Zrq9gRi8ksaH9rIzrzk63x_fKPGphZKpxB_l_6iewdGt4yb3GB8kWyGrxBnsGvV5Ei7gTaqv9OAkSKTACMEKB-rj-T8HKtk3ktnEqGMCpHTpkB8RYE6EqYRPbnSYMShjZb12GSn5uYntLtcG7MUbQX-OMt0vzh9fag_zpCyO89K56jxZ6Q9kWdADG0C2T0nR8uC8vWUUBptWNc2tt6pcupcUO19kt7ddNHMbxajHym5AijizrfJbkqnujEodlHWc8C77PawpX2xUPvIlbSvhbdsRRyYfOFGLmZsDdKa.c9dgiKXE5w_-qo4J3He6Qw/models/epoch=0-step=34602.ckpt" to /root/.cache/torch/hub/checkpoints/epoch=0-step=34602.ckpt
Could not load checkpoint

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions