Myosotis-Researches 0.0.25__py3-none-any.whl → 0.0.27__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.
- myosotis_researches/CcGAN/internal/install_datasets.py +4 -2
- myosotis_researches/CcGAN/internal/uninstall_datasets.py +3 -1
- {myosotis_researches-0.0.25.dist-info → myosotis_researches-0.0.27.dist-info}/METADATA +1 -1
- {myosotis_researches-0.0.25.dist-info → myosotis_researches-0.0.27.dist-info}/RECORD +7 -7
- {myosotis_researches-0.0.25.dist-info → myosotis_researches-0.0.27.dist-info}/WHEEL +0 -0
- {myosotis_researches-0.0.25.dist-info → myosotis_researches-0.0.27.dist-info}/licenses/LICENSE +0 -0
- {myosotis_researches-0.0.25.dist-info → myosotis_researches-0.0.27.dist-info}/top_level.txt +0 -0
@@ -6,8 +6,6 @@ import subprocess
|
|
6
6
|
|
7
7
|
# Paths
|
8
8
|
datasets_dir = resources.files("myosotis_researches").joinpath("CcGAN", "datasets")
|
9
|
-
if not os.path.exists(datasets_dir):
|
10
|
-
os.makedirs(datasets_dir, exist_ok=True)
|
11
9
|
|
12
10
|
# File ID dictionary
|
13
11
|
file_id_dict = {
|
@@ -19,6 +17,10 @@ file_id_dict = {
|
|
19
17
|
# Function
|
20
18
|
def install_datasets(datasets_name):
|
21
19
|
|
20
|
+
# Makedir
|
21
|
+
if not os.path.exists(datasets_dir):
|
22
|
+
os.makedirs(datasets_dir, exist_ok=True)
|
23
|
+
|
22
24
|
# Path
|
23
25
|
zipped_dataset_path = os.path.join(datasets_dir, f"{datasets_name}_datasets.rar")
|
24
26
|
|
@@ -1,5 +1,7 @@
|
|
1
1
|
from importlib import resources
|
2
2
|
import os
|
3
|
+
import shutil
|
4
|
+
|
3
5
|
|
4
6
|
# Paths
|
5
7
|
datasets_dir = resources.files("myosotis_researches").joinpath("CcGAN", "datasets")
|
@@ -8,7 +10,7 @@ datasets_dir = resources.files("myosotis_researches").joinpath("CcGAN", "dataset
|
|
8
10
|
# Function
|
9
11
|
def uninstall_datasets():
|
10
12
|
if os.path.exists(datasets_dir):
|
11
|
-
|
13
|
+
shutil.rmtree(datasets_dir)
|
12
14
|
|
13
15
|
|
14
16
|
__all__ = ["uninstall_datasets"]
|
@@ -1,8 +1,8 @@
|
|
1
1
|
myosotis_researches/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
2
|
myosotis_researches/CcGAN/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
3
|
myosotis_researches/CcGAN/internal/__init__.py,sha256=WBKZjcgohOUYQuegc99bYTUKnOuUqL-M9lZriZ2XbTA,151
|
4
|
-
myosotis_researches/CcGAN/internal/install_datasets.py,sha256=
|
5
|
-
myosotis_researches/CcGAN/internal/uninstall_datasets.py,sha256=
|
4
|
+
myosotis_researches/CcGAN/internal/install_datasets.py,sha256=jJwLOZrDnHMrJSUhXxSIFobdeWK5N6eitPmjeBW9FyA,1144
|
5
|
+
myosotis_researches/CcGAN/internal/uninstall_datasets.py,sha256=7pxPZcSe9RHncF0I_4rf8ZdI7eQwv-sFVfxzSVZfYHQ,297
|
6
6
|
myosotis_researches/CcGAN/models_128/CcGAN_SAGAN.py,sha256=uYDngtHoB7frPg2Vs7YCFXeUh7Y7MjaAXbRWHXO_xvw,10629
|
7
7
|
myosotis_researches/CcGAN/models_128/ResNet_class_eval.py,sha256=wa5CPkYzrS0X6kZ6pGHM-GxcGNkSpBdTTqgy5dKVKkU,5131
|
8
8
|
myosotis_researches/CcGAN/models_128/ResNet_embed.py,sha256=HKSY-5WWa9jGniOgRoR1WOTfWhR1Dcj6cq2sgznZEbE,6344
|
@@ -49,8 +49,8 @@ myosotis_researches/CcGAN/utils/concat_image_vertical.py,sha256=97-SuE8ZWpaeBm_e
|
|
49
49
|
myosotis_researches/CcGAN/utils/install_datasets.py,sha256=1WAhrzaCsWqI6vbW0awyovU2nqAtJQAEfWOdIRPQ7Jo,1121
|
50
50
|
myosotis_researches/CcGAN/utils/make_h5.py,sha256=Q5OW1JA35ormmsrlAJp6XdC6x0uJBRNjsE31wM3zBiI,1422
|
51
51
|
myosotis_researches/CcGAN/utils/print_hdf5_structure.py,sha256=leaR8H3GhlX6EuIXDMh36xG2zBdV-XlJkaXBuoorl6I,320
|
52
|
-
myosotis_researches-0.0.
|
53
|
-
myosotis_researches-0.0.
|
54
|
-
myosotis_researches-0.0.
|
55
|
-
myosotis_researches-0.0.
|
56
|
-
myosotis_researches-0.0.
|
52
|
+
myosotis_researches-0.0.27.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
53
|
+
myosotis_researches-0.0.27.dist-info/METADATA,sha256=mx1OB5N5_e0njaVZUkSKWUioOOS19saU7-FCxM2iYOY,765
|
54
|
+
myosotis_researches-0.0.27.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
|
55
|
+
myosotis_researches-0.0.27.dist-info/top_level.txt,sha256=zxAiMn5eyZNJM28MewTAkgi_RZJMbfWbzVR-KF0LdZE,20
|
56
|
+
myosotis_researches-0.0.27.dist-info/RECORD,,
|
File without changes
|
{myosotis_researches-0.0.25.dist-info → myosotis_researches-0.0.27.dist-info}/licenses/LICENSE
RENAMED
File without changes
|
File without changes
|