Skip to content

Commit

Permalink
swap the url and the url_alter
Browse files Browse the repository at this point in the history
  • Loading branch information
heatingma committed Aug 3, 2023
1 parent b5f3133 commit 57230e8
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 72 deletions.
36 changes: 18 additions & 18 deletions pygmtools/jittor_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -923,14 +923,14 @@ def execute(self, feat1, feat2, A1, A2, n1, n2, cross_iter_num, sk_max_iter, sk_


pca_gm_pretrain_path = {
'voc': ('https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1k4eBJ869uX7sN9TVTe67-8ZKRffpeBu8',
'https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/jittor_backend/pca_gm_voc_jittor.pt',
'voc': ('https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/jittor_backend/pca_gm_voc_jittor.pt',
'https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1k4eBJ869uX7sN9TVTe67-8ZKRffpeBu8',
'112bb91bd0ccc573c3a936c49416d79e'),
'willow': ('https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=15R3mdOR99g1LuSyv2IikRmlvy06ub7GQ',
'https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/jittor_backend/pca_gm_willow_jittor.pt',
'willow': ('https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/jittor_backend/pca_gm_willow_jittor.pt',
'https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=15R3mdOR99g1LuSyv2IikRmlvy06ub7GQ',
'72f4decf48eb5e00933699518563035a'),
'voc-all': ('https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=17QvlZRAFcPBslaMCax9BVmQpoFMUWv5I',
'https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/jittor_backend/pca_gm_voc-all_jittor.pt',
'voc-all': ('https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/jittor_backend/pca_gm_voc-all_jittor.pt',
'https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=17QvlZRAFcPBslaMCax9BVmQpoFMUWv5I',
'65cdf9ab437fa37c18eac147cb490c8f')
}

Expand Down Expand Up @@ -968,11 +968,11 @@ def pca_gm(feat1, feat2, A1, A2, n1, n2,


ipca_gm_pretrain_path = {
'voc': ('https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1B5W83efRL50C1D348xPJHaHoEXpAfKTL',
'https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/jittor_backend/ipca_gm_voc_jittor.pt',
'voc': ('https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/jittor_backend/ipca_gm_voc_jittor.pt',
'https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1B5W83efRL50C1D348xPJHaHoEXpAfKTL',
'3a6dc7948c75d2e31781847941b5f2f6'),
'willow': ('https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1iHSAY0d7Ufw9slYQjD_dEMkUB8SQM0kO',
'https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/jittor_backend/ipca_gm_willow_jittor.pt',
'willow': ('https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/jittor_backend/ipca_gm_willow_jittor.pt',
'https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1iHSAY0d7Ufw9slYQjD_dEMkUB8SQM0kO',
'5a1a5b783b9e7ba51579b724a26dccb4'),
}

Expand Down Expand Up @@ -1059,11 +1059,11 @@ def execute(self, feat_node1, feat_node2, A1, A2, feat_edge1, feat_edge2, n1, n2


cie_pretrain_path = {
'voc': ('https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1jjzbtXne_ppdg7M2jWEpye8piURDVidY',
'https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/jittor_backend/cie_voc_jittor.pt',
'voc': ('https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/jittor_backend/cie_voc_jittor.pt',
'https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1jjzbtXne_ppdg7M2jWEpye8piURDVidY',
'dc398a5885c5d5894ed6667103d2ff18'),
'willow': ('https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=11ftNCYBGnjGpFM3__oTCpBhOBabSU1Rv',
'https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/jittor_backend/cie_willow_jittor.pt',
'willow': ('https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/jittor_backend/cie_willow_jittor.pt',
'https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=11ftNCYBGnjGpFM3__oTCpBhOBabSU1Rv',
'bef2c341f605669ed4211e8ff7b1fe0b'),
}

Expand Down Expand Up @@ -1140,11 +1140,11 @@ def execute(self, K, n1, n2, n1max, n2max, v0, sk_max_iter, sk_tau):


ngm_pretrain_path = {
'voc': ('https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1_KZQPR6msYsMXupfrAgGgXT-zUXaGtmL',
'https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/jittor_backend/ngm_voc_jittor.pt',
'voc': ('https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/jittor_backend/ngm_voc_jittor.pt',
'https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1_KZQPR6msYsMXupfrAgGgXT-zUXaGtmL',
'1c01a48ee2095b70da270da9d862a8c0'),
'willow': ('https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1sLI7iC9kUyWm3xeByHvAMx_Hux8VAuP7',
'https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/jittor_backend/ngm_willow_jittor.pt',
'willow': ('https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/jittor_backend/ngm_willow_jittor.pt',
'https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1sLI7iC9kUyWm3xeByHvAMx_Hux8VAuP7',
'c23821751c895f79bbd038fa426ce259'),
}

Expand Down
36 changes: 18 additions & 18 deletions pygmtools/numpy_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -887,14 +887,14 @@ def forward(self, feat1, feat2, A1, A2, n1, n2, cross_iter_num, sk_max_iter, sk_
return s

pca_gm_pretrain_path = {
'voc':('https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1En_9f5Zi5rSsS-JTIce7B1BV6ijGEAPd',
'https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/numpy_backend/pca_gm_voc_numpy.npy',
'voc':('https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/numpy_backend/pca_gm_voc_numpy.npy',
'https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1En_9f5Zi5rSsS-JTIce7B1BV6ijGEAPd',
'd85f97498157d723793b8fc1501841ce'),
'willow':('https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1LAnK6ASYu0CO1fEe6WpvMbt5vskuvwLo',
'https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/numpy_backend/pca_gm_willow_numpy.npy',
'willow':('https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/numpy_backend/pca_gm_willow_numpy.npy',
'https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1LAnK6ASYu0CO1fEe6WpvMbt5vskuvwLo',
'c32f7c8a7a6978619b8fdbb6ad5b505f'),
'voc-all':('https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1c_aw4wxEBuY7JFC4Rt8rlcise777n189',
'https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/numpy_backend/pca_gm_voc-all_numpy.npy',
'voc-all':('https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/numpy_backend/pca_gm_voc-all_numpy.npy',
'https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1c_aw4wxEBuY7JFC4Rt8rlcise777n189',
'0e2725b3ac51f87f0303bbcfaae5df80')
}

Expand Down Expand Up @@ -944,11 +944,11 @@ def pca_gm(feat1, feat2, A1, A2, n1, n2,


ipca_gm_pretrain_path = {
'voc':('https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=13g9iBjXZ804bKo6p8wMQe8yNUZBwVGJj',
'https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/numpy_backend/ipca_gm_voc_numpy.npy',
'voc':('https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/numpy_backend/ipca_gm_voc_numpy.npy',
'https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=13g9iBjXZ804bKo6p8wMQe8yNUZBwVGJj',
'4479a25558780a4b4c9891b4386659cd'),
'willow':('https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1vq0FqjPhiSR80cu9jk0qMljkC4gSFvQA',
'https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/numpy_backend/ipca_gm_willow_numpy.npy',
'willow':('https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/numpy_backend/ipca_gm_willow_numpy.npy',
'https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1vq0FqjPhiSR80cu9jk0qMljkC4gSFvQA',
'ada1df350d45cc877f08e12919993345')
}

Expand Down Expand Up @@ -1053,11 +1053,11 @@ def forward(self, feat_node1, feat_node2, A1, A2, feat_edge1, feat_edge2, n1, n2
return s

cie_pretrain_path = {
'voc':('https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1rP9sJY1fh493LLMWw-7RaeFAMHlbSs2D',
'https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/numpy_backend/cie_voc_numpy.npy',
'voc':('https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/numpy_backend/cie_voc_numpy.npy',
'https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1rP9sJY1fh493LLMWw-7RaeFAMHlbSs2D',
'9cbd55fa77d124b95052378643715bae'),
'willow':('https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1cMiXrSQjXZ9lDxeB6194z1-luyslVTR8',
'https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/numpy_backend/cie_willow_numpy.npy',
'willow':('https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/numpy_backend/cie_willow_numpy.npy',
'https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1cMiXrSQjXZ9lDxeB6194z1-luyslVTR8',
'bd36e1bf314503c1f1482794e1648b18')
}

Expand Down Expand Up @@ -1146,11 +1146,11 @@ def forward(self, K, n1, n2, n1max, n2max, v0, sk_max_iter, sk_tau):
return _sinkhorn_func(s, n1, n2, dummy_row=True)

ngm_pretrain_path = {
'voc':('https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1LY93fLCjH5vDcWsjZxGPmXmrYMF8HZIR',
'https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/numpy_backend/ngm_voc_numpy.npy',
'voc':('https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/numpy_backend/ngm_voc_numpy.npy',
'https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1LY93fLCjH5vDcWsjZxGPmXmrYMF8HZIR',
'19cd48afab71b3277d2062624934702c'),
'willow':('https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1iD8FHqahRsVV_H6o3ByB6nwBHU8sEgnt',
'https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/numpy_backend/ngm_willow_numpy.npy',
'willow':('https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/numpy_backend/ngm_willow_numpy.npy',
'https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1iD8FHqahRsVV_H6o3ByB6nwBHU8sEgnt',
'31968e30c399845f34d80733d0118b8b')
}

Expand Down
36 changes: 18 additions & 18 deletions pygmtools/paddle_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -866,14 +866,14 @@ def forward(self, feat1, feat2, A1, A2, n1, n2, cross_iter_num, sk_max_iter, sk_
return s

pca_gm_pretrain_path = {
'voc': ('https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1PoeWfa4v3n4Bk_9VlSUSd7akZf1rL8ct',
'https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/paddle_backend/pca_gm_voc_paddle.pdparams',
'voc': ('https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/paddle_backend/pca_gm_voc_paddle.pdparams',
'https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1PoeWfa4v3n4Bk_9VlSUSd7akZf1rL8ct',
'03b1dedeed7195aa98431b3c561d5de3'),
'willow': ('https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1hgCpvcvt5eoz1xbMbuDyBuYH6SCue6UD',
'https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/paddle_backend/pca_gm_willow_paddle.pdparams',
'willow': ('https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/paddle_backend/pca_gm_willow_paddle.pdparams',
'https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1hgCpvcvt5eoz1xbMbuDyBuYH6SCue6UD',
'ebf2dae8593a3640012832858bec3499'),
'voc-all': ('https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=116_v4rC31T-hq3kE2d_thMKmJ65swrCD',
'https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/paddle_backend/pca_gm_voc-all_paddle.pdparams',
'voc-all': ('https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/paddle_backend/pca_gm_voc-all_paddle.pdparams',
'https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=116_v4rC31T-hq3kE2d_thMKmJ65swrCD',
'677c03d7180fefaaee9fcc85a03c8d53')
}

Expand Down Expand Up @@ -912,11 +912,11 @@ def pca_gm(feat1, feat2, A1, A2, n1, n2,


ipca_gm_pretrain_path = {
'voc': ('https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1bVGl9lhhzkLeWKsjiWYHgzFV-evCo1sh',
'https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/paddle_backend/ipca_gm_voc_paddle.pdparams',
'voc': ('https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/paddle_backend/ipca_gm_voc_paddle.pdparams',
'https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1bVGl9lhhzkLeWKsjiWYHgzFV-evCo1sh',
'2fb842d4fbdeed60ac2846201a24f771'),
'willow': ('https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=17RdDzNp2SjYahRd9aep5dEbidWJNR4uu',
'https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/paddle_backend/ipca_gm_willow_paddle.pdparams',
'willow': ('https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/paddle_backend/ipca_gm_willow_paddle.pdparams',
'https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=17RdDzNp2SjYahRd9aep5dEbidWJNR4uu',
'763ea7b3c0518e27ca16c5ae987eccaa'),
}

Expand Down Expand Up @@ -1000,11 +1000,11 @@ def forward(self, feat_node1, feat_node2, A1, A2, feat_edge1, feat_edge2, n1, n2
return s

cie_pretrain_path = {
'voc': ('https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=13dtxDfySvfqQcYvPiTd8Pb2xgcXIesAz',
'https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/paddle_backend/cie_voc_paddle.pdparams',
'voc': ('https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/paddle_backend/cie_voc_paddle.pdparams',
'https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=13dtxDfySvfqQcYvPiTd8Pb2xgcXIesAz',
'2c52c70e4a8919d24fde261756d1d6c4'),
'willow': ('https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1_-G00V3yhJ3IL_Xp6cMcVV9N2vWgEDwk',
'https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/paddle_backend/cie_willow_paddle.pdparams',
'willow': ('https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/paddle_backend/cie_willow_paddle.pdparams',
'https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1_-G00V3yhJ3IL_Xp6cMcVV9N2vWgEDwk',
'2619383120ca67d68c40eebd9dde9d95'),
}

Expand Down Expand Up @@ -1081,11 +1081,11 @@ def forward(self, K, n1, n2, n1max, n2max, v0, sk_max_iter, sk_tau):
return _sinkhorn_func(s, n1, n2, dummy_row=True)

ngm_pretrain_path = {
'voc': ('https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1cd5AvddQtpWmENPLEWjJ76cKG7Df43nh',
'https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/paddle_backend/ngm_voc_paddle.pdparams',
'voc': ('https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/paddle_backend/ngm_voc_paddle.pdparams',
'https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1cd5AvddQtpWmENPLEWjJ76cKG7Df43nh',
'bf1808dd16304e03ff33133c7ea9de90'),
'willow': ('https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1j1kXWsassE3bAVWjPy2g0jUGG2IeODc8',
'https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/paddle_backend/ngm_willow_paddle.pdparams',
'willow': ('https://media.githubusercontent.com/media/heatingma/pygmtools-pretrained-models/main/paddle_backend/ngm_willow_paddle.pdparams',
'https://drive.google.com/u/0/uc?export=download&confirm=Z-AR&id=1j1kXWsassE3bAVWjPy2g0jUGG2IeODc8',
'a5daf06cdaf6cc370928b5f8fc01c585'),
}

Expand Down
Loading

0 comments on commit 57230e8

Please sign in to comment.