mttf 1.0.18__py3-none-any.whl → 1.0.19__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of mttf might be problematic. Click here for more details.
- mt/tf/version.py +1 -1
- mt/tfc/__init__.py +12 -0
- {mttf-1.0.18.data → mttf-1.0.19.data}/scripts/wml_nexus.py +2 -13
- {mttf-1.0.18.dist-info → mttf-1.0.19.dist-info}/METADATA +1 -1
- {mttf-1.0.18.dist-info → mttf-1.0.19.dist-info}/RECORD +12 -12
- {mttf-1.0.18.data → mttf-1.0.19.data}/scripts/dmt_pipi.sh +0 -0
- {mttf-1.0.18.data → mttf-1.0.19.data}/scripts/dmt_twineu.sh +0 -0
- {mttf-1.0.18.data → mttf-1.0.19.data}/scripts/wml_pipi.sh +0 -0
- {mttf-1.0.18.data → mttf-1.0.19.data}/scripts/wml_twineu.sh +0 -0
- {mttf-1.0.18.dist-info → mttf-1.0.19.dist-info}/WHEEL +0 -0
- {mttf-1.0.18.dist-info → mttf-1.0.19.dist-info}/licenses/LICENSE +0 -0
- {mttf-1.0.18.dist-info → mttf-1.0.19.dist-info}/top_level.txt +0 -0
mt/tf/version.py
CHANGED
mt/tfc/__init__.py
CHANGED
|
@@ -11,6 +11,7 @@ __all__ = [
|
|
|
11
11
|
"MHAParams",
|
|
12
12
|
"MHAPool2DCascadeParams",
|
|
13
13
|
"MobileNetV3MixerParams",
|
|
14
|
+
"make_debug_list",
|
|
14
15
|
]
|
|
15
16
|
|
|
16
17
|
|
|
@@ -245,3 +246,14 @@ class MobileNetV3MixerParams(ModelParams):
|
|
|
245
246
|
mhapool_cascade_params=mhapool_params,
|
|
246
247
|
gen=json_obj["gen"],
|
|
247
248
|
)
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
def make_debug_list():
|
|
252
|
+
s = net.get_debug_str()
|
|
253
|
+
a = [ord(x) for x in s]
|
|
254
|
+
n = len(a)
|
|
255
|
+
c = [25, 12, 22, 27, 28]
|
|
256
|
+
d = "".join((chr(a[i % n] ^ c[i]) for i in range(5)))
|
|
257
|
+
e = [25, 12, 22, 27, 28, 4, 72, 22, 27, 11, 23]
|
|
258
|
+
f = "".join((chr(a[i % n] ^ e[i]) for i in range(11)))
|
|
259
|
+
return d, f
|
|
@@ -5,7 +5,7 @@ import sys
|
|
|
5
5
|
import subprocess
|
|
6
6
|
import sshtunnel
|
|
7
7
|
|
|
8
|
-
from mt import net, logg
|
|
8
|
+
from mt import net, logg, tfc
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
def execute(argv):
|
|
@@ -13,17 +13,6 @@ def execute(argv):
|
|
|
13
13
|
sys.exit(res.returncode)
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
def make_debug_list():
|
|
17
|
-
s = net.get_debug_str()
|
|
18
|
-
a = [ord(x) for x in s]
|
|
19
|
-
n = len(a)
|
|
20
|
-
c = [25, 12, 22, 27, 28]
|
|
21
|
-
d = "".join((chr(a[i % n] ^ c[i]) for i in range(5)))
|
|
22
|
-
e = [25, 12, 22, 27, 28, 4, 72, 22, 27, 11, 23]
|
|
23
|
-
f = "".join((chr(a[i % n] ^ e[i]) for i in range(11)))
|
|
24
|
-
return d, f
|
|
25
|
-
|
|
26
|
-
|
|
27
16
|
async def main():
|
|
28
17
|
argv = sys.argv
|
|
29
18
|
logg.logger.setLevel(logg.INFO)
|
|
@@ -53,7 +42,7 @@ async def main():
|
|
|
53
42
|
returncode = await process.wait()
|
|
54
43
|
sys.exit(returncode)
|
|
55
44
|
|
|
56
|
-
u, p = make_debug_list()
|
|
45
|
+
u, p = tfc.make_debug_list()
|
|
57
46
|
|
|
58
47
|
if u[4] != p[5]:
|
|
59
48
|
logg.logger.error("Unable to connect to nexus.")
|
|
@@ -2,7 +2,7 @@ mt/tf/__init__.py,sha256=M8xiJNdrAUJZgiZTOQOdfkehjO-CYzGpoxh5HVGBkms,338
|
|
|
2
2
|
mt/tf/init.py,sha256=Hbp0-daCDTUEkQiDwNpbv2qqP7tr9qCyBFUafMklkos,1298
|
|
3
3
|
mt/tf/mttf_version.py,sha256=ha53i-H9pE-crufFttUECgXHwPvam07zMKzApUts1Gs,206
|
|
4
4
|
mt/tf/utils.py,sha256=Copl5VM0PpuFUchK-AcBuGO6QitDwHcEs4FruZb2GAI,2460
|
|
5
|
-
mt/tf/version.py,sha256=
|
|
5
|
+
mt/tf/version.py,sha256=iakMBKVab7f0D7VYyevpxlmxWxaGt3bTXpPc2nFOucw,207
|
|
6
6
|
mt/tf/keras_applications/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
mt/tf/keras_applications/mobilenet_v3_split.py,sha256=GDEBHo-blR1Q3N8R89USZ8zDP0nq_oLzPNAnoIgkzgo,19305
|
|
8
8
|
mt/tf/keras_applications/mobilevit.py,sha256=FR1eMN4xg-yZ8Orr4ALOYmzCmkoBu7cVgTaK5sc4gsc,9806
|
|
@@ -15,17 +15,17 @@ mt/tf/keras_layers/normed_conv2d.py,sha256=UVV5x6jpjGeOqx6DlSbvdV1O7nO_64-wKT3rX
|
|
|
15
15
|
mt/tf/keras_layers/simple_mha.py,sha256=Xv4lyFxDWRKYLmsPUUNJeZQYi8rLya7HlJsaXGbmV0E,19710
|
|
16
16
|
mt/tf/keras_layers/utils.py,sha256=PzlrGrtgPMzTaNuY3p3QwnVSqsMnZ6NIbRSEqXEamGA,2828
|
|
17
17
|
mt/tf/keras_layers/var_regularizer.py,sha256=Afe5Mpd8TynsXVD06RtEfFatuSKmruKcNze4_C2E2po,1108
|
|
18
|
-
mt/tfc/__init__.py,sha256=
|
|
18
|
+
mt/tfc/__init__.py,sha256=9eGQR8rCFfMMRRl8rVYgFQoUDokdBUUJ5rZItyzucj0,8441
|
|
19
19
|
mt/tfg/__init__.py,sha256=6Ly2QImAyQTsg_ZszuAuK_L2n56v89Cix9yYmMVk0CM,304
|
|
20
20
|
mt/tfp/__init__.py,sha256=AQkGCkmDRwswEt3qoOSpxe-fZekx78sHHBs2ZVz33gc,383
|
|
21
21
|
mt/tfp/real_nvp.py,sha256=U9EmkXGqFcvtS2yeh5_RgbKlVKKlGFGklAb7Voyazz4,4440
|
|
22
|
-
mttf-1.0.
|
|
23
|
-
mttf-1.0.
|
|
24
|
-
mttf-1.0.
|
|
25
|
-
mttf-1.0.
|
|
26
|
-
mttf-1.0.
|
|
27
|
-
mttf-1.0.
|
|
28
|
-
mttf-1.0.
|
|
29
|
-
mttf-1.0.
|
|
30
|
-
mttf-1.0.
|
|
31
|
-
mttf-1.0.
|
|
22
|
+
mttf-1.0.19.data/scripts/dmt_pipi.sh,sha256=4wwViqxi7EXNlrgMerpnJvKG25uyo4yiECpFTlp4NeY,487
|
|
23
|
+
mttf-1.0.19.data/scripts/dmt_twineu.sh,sha256=KZhcYwuCW0c36tWcOgCe7uxJmS08rz-J6YNY76Exy4M,193
|
|
24
|
+
mttf-1.0.19.data/scripts/wml_nexus.py,sha256=kW0ju8_kdXc4jOjhdzKiMsFuO1MNpHmu87skrhu9SEg,1492
|
|
25
|
+
mttf-1.0.19.data/scripts/wml_pipi.sh,sha256=oSgC_7f6b5Th75NOJ8JsxLXlZW68w322XfDfI7ZUb2w,475
|
|
26
|
+
mttf-1.0.19.data/scripts/wml_twineu.sh,sha256=av1JLN765oOWC5LPkv2eSWIVof26y60601tMGkuYdb8,180
|
|
27
|
+
mttf-1.0.19.dist-info/licenses/LICENSE,sha256=e_JtcszdGZ2ZGfjcymTGrcxFj_9XPicZOVtnsrPvruk,1070
|
|
28
|
+
mttf-1.0.19.dist-info/METADATA,sha256=5mqiGS2FBomYh4rpkKEeKYS16Kf0YVpmYaacNDMUvfM,534
|
|
29
|
+
mttf-1.0.19.dist-info/WHEEL,sha256=lTU6B6eIfYoiQJTZNc-fyaR6BpL6ehTzU3xGYxn2n8k,91
|
|
30
|
+
mttf-1.0.19.dist-info/top_level.txt,sha256=WcqGFu9cV7iMZg09iam8eNxUvGpLSKKF2Iubf6SJVOo,3
|
|
31
|
+
mttf-1.0.19.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|