Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__all__ = ['gdrive_downloader'] | |
import requests | |
import re | |
import os | |
import warnings | |
_codefinder = re.compile(r'confirm=(.+)&id=') | |
_namefinder = re.compile(r'filename="(.+)";') |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This patch can be used to update the folder dowloaded from | |
https://sourceforge.net/projects/betrs/files/BETR-Research-1.0.tar.gz/download. | |
The original file is Python2 compliant. After the patch, the tutorial works on | |
Google Colab using Python3. | |
diff -ru BETR-Global/BETRS.py BETR-Global3/BETRS.py | |
--- BETR-Global/BETRS.py 2010-09-28 03:03:24.000000000 +0000 | |
+++ BETR-Global3/BETRS.py 2021-01-13 18:33:01.000000000 +0000 | |
@@ -23,8 +23,9 @@ | |
from numpy import * | |
import sys |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.