transfer learning broken using weights from google drive
See original GitHub issuetrain.py
with --weights=./yolov4.weights
cause an assert error under utils.load_weights
If assert len(wf.read()) == 0, 'failed to read all data'
is commented the training start with nan
=> STEP 63 lr: 0.000027 giou_loss: nan conf_loss: nan prob_loss: nan total_loss: nan
=> STEP 64 lr: 0.000028 giou_loss: nan conf_loss: nan prob_loss: nan total_loss: nan
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:12 (3 by maintainers)
Top Results From Across the Web
Google Colab mount Google Drive and connect with Weights ...
Google Colab mount Google Drive and connect with Weights and Biases to track model training progress(cool TensorBoard alternative)
Read more >Transfer Learning: Serial versus One-time Training - Wandb
The Weights & Biases platform will facilitate comparison between the training run parameters. And, if you're curious, you're of course welcome ...
Read more >How Does Transfer learning Speeds Up Deep ... - eInfochips
This approach helps to adapt the weights from previous learning and makes training faster.
Read more >google colaboratory, weight download (export saved models)
This worked for me !! Use PyDrive API !pip install -U -q PyDrive from pydrive.auth import GoogleAuth from pydrive.drive import GoogleDrive ...
Read more >A Comprehensive Hands-on Guide to Transfer Learning with ...
No knowledge is retained which can be transferred from one model to another. In transfer learning, you can leverage knowledge (features, weights ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I solved the problem by using pickle, but definitely this is not the correct way 😃
weights_to_pickle.py:
and adding this to train.py file after line 78:
Note: you can use
model.layers[i].trainable = False
I updated mish activation to fix nan loss issue.