question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

geting error when train model in google colab

See original GitHub issue

i use google colab when i tried to process data with fasttext in french language i set it like this :

train_set,validation_set = dm.data.process(
    path='drive/My Drive/recommandersystem/deepmatcher_model',
    cache='train_cache.pth',
    train='train.csv',
    validation='valid.csv',
    embeddings='fasttext.fr.bin', 
    embeddings_cache_path='drive/My Drive/recommandersystem/deepmatcher_model',
    ignore_columns=['id',''],
    id_attr='_id', 
    label_attr='label',
    left_prefix='ltable_', 
    right_prefix='rtable_')

and i get this error message :

HTTPError Traceback (most recent call last) <ipython-input-8-0723e0f378ec> in <module>() 11 label_attr=‘label’, 12 left_prefix=‘ltable_’, —> 13 right_prefix=‘rtable_’)

13 frames

/usr/lib/python3.6/urllib/request.py in http_error_default(self, req, fp, code, msg, hdrs) 648 class HTTPDefaultErrorHandler(BaseHandler): 649 def http_error_default(self, req, fp, code, msg, hdrs): –> 650 raise HTTPError(req.full_url, code, msg, hdrs, fp) 651 652 class HTTPRedirectHandler(BaseHandler):

HTTPError: HTTP Error 403: Forbidden

please how i can solve this

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
kkonevetscommented, Apr 23, 2019

Through parameter of data.process, set the path to file

1reaction
kkonevetscommented, Apr 23, 2019

I guess colab does not allow to download anything. First download the file manually and place it in your Google Drive. I guess it tries to download fasttext vectors. You can find the link in code

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - I am trying to train a model but not working because a ...
I am creating a deep learning model in google colab and I am coming to an issue when I am training my model...
Read more >
The 4 Problems with Training Models in Colab - Medium
The First Problem with training in Colab is that if you are training large models like YOLOR, YOLOX, YOLOv5, etc. Your run-time will,...
Read more >
5.4 Training and Test Errors.ipynb - Google Colab
Therein lies the problem with training error. Training error measures how well a model does on the current data. It is possible to...
Read more >
How to fix this Import error problem when training a model in ...
TypeError: Descriptors cannot not be created directly. If this call came from a _pb2.py file, your generated code is out of date and...
Read more >
Error when train a model on Colab · Issue #37815 - GitHub
When I tried to train my model on Colab using above code. I got the error like below mentioned: Epoch 00001: LearningRateScheduler reducing ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found