How to replace the best_accuracy.pth with arabic.pth ?
See original GitHub issueI finetuned the Arabic model on my dataset :
and this is my config file:
number: '1234567890١٢٣٤٥٦٧٨٩٠'
symbol: ''
character: "0123456789!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~ abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ٠١٢٣٤٥٦٧٨٩«»؟،؛ءآأؤإئااًبةتثجحخدذرزسشصضطظعغفقكلمنهوىيٱٹپچڈڑژکڭگںھۀہۂۃۆۇۈۋیېےۓە"
experiment_name: 'arabic'
train_data: 'all_data/en_train_filtered'
valid_data: 'all_data/en_val'
manualSeed: 1111
workers: 6
batch_size: 2
num_iter: 15
valInterval: 5
saved_model: '/content/drive/MyDrive/OCR Data/arabic.pth'
FT: False
optim: False # default is Adadelta
lr: 1.
beta1: 0.9
rho: 0.95
eps: 0.00000001
grad_clip: 5
#Data processing
select_data: 'all_data/en_train_filtered' # this is dataset folder in train_data
batch_ratio: '1'
total_data_usage_ratio: 1.0
batch_max_length: 34
imgH: 64
imgW: 600
rgb: False
contrast_adjust: False
sensitive: True
PAD: True
contrast_adjust: 0.0
data_filtering_off: False
# Model Architecture
Transformation: 'None'
FeatureExtraction: 'ResNet'
SequenceModeling: 'BiLSTM'
Prediction: 'CTC'
num_fiducial: 20
input_channel: 1
output_channel: 512
hidden_size: 512
decode: 'greedy'
new_prediction: False
freeze_FeatureFxtraction: False
freeze_SequenceModeling: False
I go to the originally downloaded model here and replace it with my model :
when i try to initialize the reader again i got this error:
What is the correct way to replace the original model with my fine-tuned model?
Issue Analytics
- State:
- Created 10 months ago
- Comments:14
Top Results From Across the Web
Measuring Parathyroid Hormone (PTH) in Patients with ... - NCBI
In some patients only 7% of traditionally measured PTH was free of oxidation, ... The mass accuracy was better than 5 ppm for...
Read more >Parathyroid Hormone Test - Endocrine Surgery - UCLA Health
PTH is a test that measures the amount of PTH (parathormone) in blood. Alternative Names: Parathormone; Parathormone (PTH) intact molecule; Parathyroid hormone.
Read more >Parathyroid hormone results interpretation in the background ...
In this paper, we highlight the importance of PTH standardization and the impact of establishing robust reference ranges for the accurate ...
Read more >Hypoparathyroidism - Symptoms and causes - Mayo Clinic
Sometimes parathyroid hormone replacement is needed if supplements alone are not enough to bring levels into a normal range.
Read more >Intraoperative Parathyroid Hormone (PTH) Testing
This was also a revolutionary change in parathyroid surgery, because with rapid PTH testing you didn't have to inject a foreign radioactive material...
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
@rkcosmos can you please check this out and give us any advice?
Facing the same issue too still.