You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
#create detectron config
cfg = get_cfg()
add_vit_config(cfg)
#set yaml
cfg.merge_from_file('/content/cascade_dit_base.yml')
#set model weights
cfg.MODEL.WEIGHTS = 'https://layoutlm.blob.core.windows.net/dit/dit-pts/publaynet_dit-b_cascade.pth?sv=2022-11-02&ss=b&srt=o&sp=r&se=2033-06-08T16:48:15Z&st=2023-06-08T08:48:15Z&spr=https&sig=a9VXrihTzbWyVfaIDlIT1Z0FoR1073VB0RLQUMuudD4%3D.pth' # Set path model .pth
predictor = DefaultPredictor(cfg)
publaynet_dit-b_cascade.pth: 0.00B [00:00, ?B/s]
ERROR:iopath.common.download:Failed to download https://layoutlm.blob.core.windows.net/dit/dit-pts/publaynet_dit-b_cascade.pth
HTTPError Traceback (most recent call last)
in <cell line: 9>()
7 cfg.MODEL.WEIGHTS = 'https://layoutlm.blob.core.windows.net/dit/dit-pts/publaynet_dit-b_cascade.pth?sv=2022-11-02&ss=b&srt=o&sp=r&se=2033-06-08T16:48:15Z&st=2023-06-08T08:48:15Z&spr=https&sig=a9VXrihTzbWyVfaIDlIT1Z0FoR1073VB0RLQUMuudD4%3D.pth' # Set path model .pth
8
----> 9 predictor = DefaultPredictor(cfg)
11 frames
/usr/lib/python3.10/urllib/request.py in http_error_default(self, req, fp, code, msg, hdrs)
641 class HTTPDefaultErrorHandler(BaseHandler):
642 def http_error_default(self, req, fp, code, msg, hdrs):
--> 643 raise HTTPError(req.full_url, code, msg, hdrs, fp)
644
645 class HTTPRedirectHandler(BaseHandler):
HTTPError: HTTP Error 409: Public access is not permitted on this storage account.
I am getting this error I want to change link in ERROR:iopath.common.download:Failed to download https://layoutlm.blob.core.windows.net/dit/dit-pts/publaynet_dit-b_cascade.pth
how can i do that ? Need Help
Beta Was this translation helpful? Give feedback.
All reactions