How to use the cogdl.data.download_url function in cogdl

To help you get started, we’ve selected a few cogdl examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github THUDM / cogdl / cogdl / datasets / edgelist_label.py View on Github external
def download(self):
        for name in self.raw_file_names:
            download_url("{}/{}".format(self.url, name), self.raw_dir)
github THUDM / cogdl / cogdl / datasets / gatne.py View on Github external
def download(self):
        for name in self.raw_file_names:
            download_url("{}/{}".format(self.url, name), self.raw_dir)
github THUDM / cogdl / cogdl / datasets / reddit.py View on Github external
def download(self):
        path = download_url(self.url, self.raw_dir)
        extract_zip(path, self.raw_dir)
        os.unlink(path)
github THUDM / cogdl / cogdl / datasets / planetoid.py View on Github external
def download(self):
        for name in self.raw_file_names:
            download_url('{}/{}'.format(self.url, name), self.raw_dir)
github THUDM / cogdl / cogdl / datasets / ppi.py View on Github external
def download(self):
        path = download_url(self.url, self.root)
        extract_zip(path, self.raw_dir)
        os.unlink(path)
github imsheridan / CogDL-TensorFlow / cogdl / datasets / matlab_matrix.py View on Github external
def download(self):
        for name in self.raw_file_names:
            download_url("{}{}".format(self.url, name), self.raw_dir)
github THUDM / cogdl / cogdl / datasets / matlab_matrix.py View on Github external
def download(self):
        for name in self.raw_file_names:
            download_url("{}{}".format(self.url, name), self.raw_dir)