Muyi 0.0.4__tar.gz → 0.0.6__tar.gz
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.
- {muyi-0.0.4 → muyi-0.0.6/Muyi.egg-info}/PKG-INFO +2 -12
- {muyi-0.0.4/Muyi.egg-info → muyi-0.0.6}/PKG-INFO +2 -12
- {muyi-0.0.4 → muyi-0.0.6}/README.md +1 -11
- {muyi-0.0.4 → muyi-0.0.6}/muyi/utils.py +1 -1
- {muyi-0.0.4 → muyi-0.0.6}/setup.py +1 -1
- {muyi-0.0.4 → muyi-0.0.6}/LICENSE +0 -0
- {muyi-0.0.4 → muyi-0.0.6}/Muyi.egg-info/SOURCES.txt +0 -0
- {muyi-0.0.4 → muyi-0.0.6}/Muyi.egg-info/dependency_links.txt +0 -0
- {muyi-0.0.4 → muyi-0.0.6}/Muyi.egg-info/top_level.txt +0 -0
- {muyi-0.0.4 → muyi-0.0.6}/muyi/__init__.py +0 -0
- {muyi-0.0.4 → muyi-0.0.6}/muyi/gpu.py +0 -0
- {muyi-0.0.4 → muyi-0.0.6}/muyi/graph.py +0 -0
- {muyi-0.0.4 → muyi-0.0.6}/pyproject.toml +0 -0
- {muyi-0.0.4 → muyi-0.0.6}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: Muyi
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.6
|
|
4
4
|
Summary: Some useful utils.
|
|
5
5
|
Home-page: https://github.com/Muyiiiii/muyi
|
|
6
6
|
Author: muyiiiii
|
|
@@ -16,30 +16,20 @@ License-File: LICENSE
|
|
|
16
16
|
|
|
17
17
|
Some useful utils for GNNs and Deep Learning.
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
19
|
```bash
|
|
22
20
|
pip install muyi
|
|
23
21
|
```
|
|
24
22
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
23
|
## utils
|
|
30
24
|
|
|
31
25
|
1. `color_print(content)`
|
|
32
26
|
2. `save_pic_iterly(pic_name, postfix, info)`
|
|
33
|
-
3. `
|
|
34
|
-
|
|
35
|
-
|
|
27
|
+
3. `read_csv_tqdm(path, **kwargs)`
|
|
36
28
|
|
|
37
29
|
## graph
|
|
38
30
|
|
|
39
31
|
1. `pyg_data_to_dgl_graph(pyg_data_obj)`
|
|
40
32
|
|
|
41
|
-
|
|
42
|
-
|
|
43
33
|
## gpu
|
|
44
34
|
|
|
45
35
|
1. `get_gpu_memory_usage()`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: Muyi
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.6
|
|
4
4
|
Summary: Some useful utils.
|
|
5
5
|
Home-page: https://github.com/Muyiiiii/muyi
|
|
6
6
|
Author: muyiiiii
|
|
@@ -16,30 +16,20 @@ License-File: LICENSE
|
|
|
16
16
|
|
|
17
17
|
Some useful utils for GNNs and Deep Learning.
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
19
|
```bash
|
|
22
20
|
pip install muyi
|
|
23
21
|
```
|
|
24
22
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
23
|
## utils
|
|
30
24
|
|
|
31
25
|
1. `color_print(content)`
|
|
32
26
|
2. `save_pic_iterly(pic_name, postfix, info)`
|
|
33
|
-
3. `
|
|
34
|
-
|
|
35
|
-
|
|
27
|
+
3. `read_csv_tqdm(path, **kwargs)`
|
|
36
28
|
|
|
37
29
|
## graph
|
|
38
30
|
|
|
39
31
|
1. `pyg_data_to_dgl_graph(pyg_data_obj)`
|
|
40
32
|
|
|
41
|
-
|
|
42
|
-
|
|
43
33
|
## gpu
|
|
44
34
|
|
|
45
35
|
1. `get_gpu_memory_usage()`
|
|
@@ -2,30 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
Some useful utils for GNNs and Deep Learning.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
5
|
```bash
|
|
8
6
|
pip install muyi
|
|
9
7
|
```
|
|
10
8
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
9
|
## utils
|
|
16
10
|
|
|
17
11
|
1. `color_print(content)`
|
|
18
12
|
2. `save_pic_iterly(pic_name, postfix, info)`
|
|
19
|
-
3. `
|
|
20
|
-
|
|
21
|
-
|
|
13
|
+
3. `read_csv_tqdm(path, **kwargs)`
|
|
22
14
|
|
|
23
15
|
## graph
|
|
24
16
|
|
|
25
17
|
1. `pyg_data_to_dgl_graph(pyg_data_obj)`
|
|
26
18
|
|
|
27
|
-
|
|
28
|
-
|
|
29
19
|
## gpu
|
|
30
20
|
|
|
31
21
|
1. `get_gpu_memory_usage()`
|
|
@@ -20,7 +20,7 @@ def save_pic_iterly(pic_name, postfix, info):
|
|
|
20
20
|
|
|
21
21
|
color_print(f'!!!!! {info} is saved in file {pic_name_full}')
|
|
22
22
|
|
|
23
|
-
def
|
|
23
|
+
def read_csv_tqdm(path, **kwargs):
|
|
24
24
|
INPUT_FILENAME = path
|
|
25
25
|
LINES_TO_READ_FOR_ESTIMATION = 20
|
|
26
26
|
CHUNK_SIZE_PER_ITERATION = 10**5
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|