Myosotis-Researches 0.1.11__tar.gz → 0.1.13__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.
Files changed (53) hide show
  1. myosotis_researches-0.1.13/MANIFEST.in +1 -0
  2. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13/Myosotis_Researches.egg-info}/PKG-INFO +1 -1
  3. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/Myosotis_Researches.egg-info/SOURCES.txt +5 -1
  4. {myosotis_researches-0.1.11/Myosotis_Researches.egg-info → myosotis_researches-0.1.13}/PKG-INFO +1 -1
  5. myosotis_researches-0.1.13/myosotis_researches/CcGAN/visualize/src/style.css +47 -0
  6. myosotis_researches-0.1.13/myosotis_researches/CcGAN/visualize/src/style.css.map +1 -0
  7. myosotis_researches-0.1.13/myosotis_researches/CcGAN/visualize/src/style.scss +40 -0
  8. myosotis_researches-0.1.13/myosotis_researches/CcGAN/visualize/src/template.html +60 -0
  9. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/visualize/visualize_datasets.py +4 -4
  10. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/setup.py +1 -1
  11. myosotis_researches-0.1.11/MANIFEST.in +0 -1
  12. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/LICENSE +0 -0
  13. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/Myosotis_Researches.egg-info/dependency_links.txt +0 -0
  14. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/Myosotis_Researches.egg-info/top_level.txt +0 -0
  15. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/README.md +0 -0
  16. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/__init__.py +0 -0
  17. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/internal/__init__.py +0 -0
  18. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/internal/install_datasets.py +0 -0
  19. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/internal/show_datasets.py +0 -0
  20. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/internal/uninstall_datasets.py +0 -0
  21. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/models_128/CcGAN_SAGAN.py +0 -0
  22. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/models_128/ResNet_class_eval.py +0 -0
  23. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/models_128/ResNet_embed.py +0 -0
  24. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/models_128/ResNet_regre_eval.py +0 -0
  25. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/models_128/__init__.py +0 -0
  26. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/models_128/autoencoder.py +0 -0
  27. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/models_128/cGAN_SAGAN.py +0 -0
  28. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/models_128/cGAN_concat_SAGAN.py +0 -0
  29. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/models_256/CcGAN_SAGAN.py +0 -0
  30. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/models_256/ResNet_class_eval.py +0 -0
  31. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/models_256/ResNet_embed.py +0 -0
  32. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/models_256/ResNet_regre_eval.py +0 -0
  33. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/models_256/__init__.py +0 -0
  34. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/models_256/autoencoder.py +0 -0
  35. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/models_256/cGAN_SAGAN.py +0 -0
  36. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/models_256/cGAN_concat_SAGAN.py +0 -0
  37. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/train/__init__.py +0 -0
  38. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/train/train_ccgan.py +0 -0
  39. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/train/train_cgan.py +0 -0
  40. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/train/train_cgan_concat.py +0 -0
  41. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/train/train_net_for_label_embed.py +0 -0
  42. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/utils/IMGs_dataset.py +0 -0
  43. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/utils/SimpleProgressBar.py +0 -0
  44. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/utils/__init__.py +0 -0
  45. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/utils/concat_image.py +0 -0
  46. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/utils/make_h5.py +0 -0
  47. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/utils/opts.py +0 -0
  48. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/utils/print_hdf5.py +0 -0
  49. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/utils/train.py +0 -0
  50. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/CcGAN/visualize/__init__.py +0 -0
  51. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/myosotis_researches/__init__.py +0 -0
  52. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/pyproject.toml +0 -0
  53. {myosotis_researches-0.1.11 → myosotis_researches-0.1.13}/setup.cfg +0 -0
@@ -0,0 +1 @@
1
+ include myosotis_researches/CcGAN/visualize/src/*
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Myosotis-Researches
3
- Version: 0.1.11
3
+ Version: 0.1.13
4
4
  Summary: A repository for storing my progress of researches.
5
5
  Home-page: https://github.com/Zeyu-Xie/Myosotis-Researches
6
6
  Author: Zeyu Xie
@@ -43,4 +43,8 @@ myosotis_researches/CcGAN/utils/opts.py
43
43
  myosotis_researches/CcGAN/utils/print_hdf5.py
44
44
  myosotis_researches/CcGAN/utils/train.py
45
45
  myosotis_researches/CcGAN/visualize/__init__.py
46
- myosotis_researches/CcGAN/visualize/visualize_datasets.py
46
+ myosotis_researches/CcGAN/visualize/visualize_datasets.py
47
+ myosotis_researches/CcGAN/visualize/src/style.css
48
+ myosotis_researches/CcGAN/visualize/src/style.css.map
49
+ myosotis_researches/CcGAN/visualize/src/style.scss
50
+ myosotis_researches/CcGAN/visualize/src/template.html
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Myosotis-Researches
3
- Version: 0.1.11
3
+ Version: 0.1.13
4
4
  Summary: A repository for storing my progress of researches.
5
5
  Home-page: https://github.com/Zeyu-Xie/Myosotis-Researches
6
6
  Author: Zeyu Xie
@@ -0,0 +1,47 @@
1
+ * {
2
+ font-family: Arial, Helvetica, sans-serif;
3
+ scrollbar-width: none;
4
+ -ms-overflow-style: none;
5
+ }
6
+ * ::-webkit-scrollbar {
7
+ display: none;
8
+ }
9
+
10
+ body {
11
+ width: 100vw;
12
+ max-width: 1024px;
13
+ margin: 0 auto;
14
+ }
15
+
16
+ .container {
17
+ margin: 0;
18
+ border: 0;
19
+ padding: 0;
20
+ }
21
+
22
+ .code {
23
+ font-family: "Courier New", Courier, monospace;
24
+ }
25
+
26
+ #header-container {
27
+ margin: 1rem auto;
28
+ overflow: hidden;
29
+ }
30
+ #header-container p {
31
+ overflow: scroll;
32
+ white-space: nowrap;
33
+ }
34
+
35
+ #main-container {
36
+ margin: 1rem auto;
37
+ width: fit-content;
38
+ }
39
+
40
+ #main-table {
41
+ text-align: center;
42
+ }
43
+ #main-table th, #main-table td {
44
+ padding: 0.5rem 1rem;
45
+ }
46
+
47
+ /*# sourceMappingURL=style.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sourceRoot":"","sources":["style.scss"],"names":[],"mappings":"AAAA;EACE;EACA;EACA;;AACA;EACE;;;AAIJ;EACE;EACA;EACA;;;AAEF;EACE;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;EACA;;AACA;EACE;EACA;;;AAGJ;EACE;EACA;;;AAEF;EACE;;AACA;EACE","file":"style.css"}
@@ -0,0 +1,40 @@
1
+ * {
2
+ font-family: Arial, Helvetica, sans-serif;
3
+ scrollbar-width: none;
4
+ -ms-overflow-style: none;
5
+ ::-webkit-scrollbar {
6
+ display: none;
7
+ }
8
+ }
9
+
10
+ body {
11
+ width: 100vw;
12
+ max-width: 1024px;
13
+ margin: 0 auto;
14
+ }
15
+ .container {
16
+ margin: 0;
17
+ border: 0;
18
+ padding: 0;
19
+ }
20
+ .code {
21
+ font-family: "Courier New", Courier, monospace;
22
+ }
23
+ #header-container {
24
+ margin: 1rem auto;
25
+ overflow: hidden;
26
+ p {
27
+ overflow: scroll;
28
+ white-space: nowrap;
29
+ }
30
+ }
31
+ #main-container {
32
+ margin: 1rem auto;
33
+ width: fit-content;
34
+ }
35
+ #main-table {
36
+ text-align: center;
37
+ th, td {
38
+ padding: 0.5rem 1rem;
39
+ }
40
+ }
@@ -0,0 +1,60 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>Document</title>
8
+ <link rel="stylesheet" href="./style.css">
9
+ </head>
10
+
11
+ <body>
12
+ <header>
13
+ <div class="container" id="header-container">
14
+ <p><b>Datasets Path</b></p>
15
+ <p class="code">{{ datasets_path }}</p>
16
+ <p><b>List Path</b></p>
17
+ <p class="code">{{ list_path }}</p>
18
+ <p><b>Template Path</b></p>
19
+ <p class="code">{{ template_path }}</p>
20
+ <p><b>Indexes</b></p>
21
+ <p class="code">{{ indexes }}</p>
22
+ </div>
23
+ </header>
24
+ <hr>
25
+ <h2>All Datas</h2>
26
+ <div class="container" id="main-container">
27
+ <table id="main-table">
28
+ <thead>
29
+ <tr>
30
+ <th>Image</th>
31
+ <th>Image Name</th>
32
+ <th>Label</th>
33
+ <th>Type</th>
34
+ <th>Original Index</th>
35
+ </tr>
36
+ </thead>
37
+ {% for item in items %}
38
+ <tr>
39
+ <td>
40
+ <img src="{{ item.image }}" alt="" style="width: 64px;">
41
+ </td>
42
+ <td class="code">
43
+ {{ item.image_name }}
44
+ </td>
45
+ <td>
46
+ {{ item.label }}
47
+ </td>
48
+ <td>
49
+ {{ item.type }}
50
+ </td>
51
+ <td>
52
+ {{ item.index }}
53
+ </td>
54
+ </tr>
55
+ {% endfor %}
56
+ </table>
57
+ </div>
58
+ </body>
59
+
60
+ </html>
@@ -35,9 +35,9 @@ def datasets_to_html(indexes, datasets_path, list_path, template_path):
35
35
 
36
36
  # Get list
37
37
  df = pd.read_csv(list_path)
38
- tool_wears = df.loc[indexes, "tool_wear"]
39
- surfaces = df.loc[indexes, "surface"]
40
- image_names = df.loc[indexes, "image_name"]
38
+ tool_wears = df.iloc[indexes]["tool_wear"]
39
+ surfaces = df.iloc[indexes]["surface"]
40
+ image_names = df.iloc[indexes]["image_name"]
41
41
 
42
42
  # Transform data to base64
43
43
  images = np.transpose(images, (0, 2, 3, 1))
@@ -50,7 +50,7 @@ def datasets_to_html(indexes, datasets_path, list_path, template_path):
50
50
  items.append(
51
51
  {
52
52
  "image": images_base64[i],
53
- "image_name": image_names[i],
53
+ "image_name": image_names.iloc[i],
54
54
  "label": labels[i],
55
55
  "type": types[i],
56
56
  "index": indexes[i],
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="Myosotis-Researches",
5
- version="0.1.11",
5
+ version="0.1.13",
6
6
  description="A repository for storing my progress of researches.",
7
7
  long_description=open("README.md").read(),
8
8
  long_description_content_type="text/markdown",
@@ -1 +0,0 @@
1
- include myosotis_researches/CcGAN/visualize/src/