metadata.json 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. {
  2. "model_type": "wakeword",
  3. "creation_timestamp": "2025-10-01T11:00:30.919894+00:00",
  4. "last_modified": "2025-10-01T11:00:55.373417+00:00",
  5. "version": "1.0.0",
  6. "format_version": "1.0",
  7. "model_name": "wakeword_model",
  8. "description": "RepCNN wakeword detection model (standard)",
  9. "author": "Trixy ML Trainer",
  10. "organization": "",
  11. "license": "Private",
  12. "tags": [],
  13. "training_phase": "initial",
  14. "training_statistics": {
  15. "total_epochs": 9,
  16. "final_train_loss": 0.21611078192548053,
  17. "final_train_accuracy": 0.0,
  18. "best_val_loss": 0.2097783156981071,
  19. "best_val_accuracy": 0.7773851590106007,
  20. "best_epoch": 9,
  21. "training_duration_seconds": 16.775437831878662,
  22. "total_parameters": 2586371,
  23. "trainable_parameters": 2586371,
  24. "convergence_epoch": null,
  25. "early_stopping_triggered": false,
  26. "final_learning_rate": 0.0,
  27. "max_memory_usage_mb": null
  28. },
  29. "hardware_info": {
  30. "hostname": "BPGamer",
  31. "platform_system": "Linux",
  32. "platform_release": "6.6.87.2-microsoft-standard-WSL2",
  33. "platform_version": "#1 SMP PREEMPT_DYNAMIC Thu Jun 5 18:30:46 UTC 2025",
  34. "cpu_count": 32,
  35. "python_version": "3.12.3",
  36. "pytorch_version": "2.8.0+cu128",
  37. "cuda_available": true,
  38. "cuda_version": "12.8",
  39. "gpu_count": 1,
  40. "gpu_names": [
  41. "NVIDIA GeForce RTX 5070 Ti"
  42. ],
  43. "total_memory_gb": 31.203216552734375
  44. },
  45. "audio_config": {
  46. "sample_rate": 16000,
  47. "bit_depth": 16,
  48. "channels": 1,
  49. "audio_length_seconds": 1.5,
  50. "chunk_length_samples": 24000,
  51. "n_mels": 40,
  52. "n_fft": 512,
  53. "hop_length": 160,
  54. "win_length": 400,
  55. "f_min": 80.0,
  56. "f_max": 8000.0,
  57. "feature_type": "mel_spectrogram",
  58. "normalization": "db"
  59. },
  60. "dataset_info": {
  61. "total_samples": 1415,
  62. "train_samples": 989,
  63. "val_samples": 283,
  64. "test_samples": 143,
  65. "num_classes": 0,
  66. "class_names": [],
  67. "class_distribution": {},
  68. "data_source_paths": [],
  69. "augmentation_applied": false,
  70. "augmentation_config": {},
  71. "preprocessing_steps": []
  72. },
  73. "architecture_info": {
  74. "architecture_name": "RepCNN",
  75. "architecture_type": "unknown",
  76. "input_shape": [],
  77. "output_shape": [],
  78. "total_parameters": 2586371,
  79. "trainable_parameters": 2586371,
  80. "model_size_mb": 9.88045883178711,
  81. "layer_count": 45,
  82. "activation_functions": [
  83. "ReLU"
  84. ],
  85. "optimizer_config": {},
  86. "loss_function": "unknown",
  87. "custom_components": []
  88. },
  89. "file_format": ".pth",
  90. "file_hash": "",
  91. "file_size_bytes": 0,
  92. "compression_used": false,
  93. "encryption_used": true,
  94. "model_specific": {
  95. "wakewords": [
  96. "custom",
  97. "system_command",
  98. "negative"
  99. ],
  100. "wakeword_classes": {
  101. "0": "custom",
  102. "1": "system_command",
  103. "2": "negative"
  104. },
  105. "detection_threshold": 0.5,
  106. "false_positive_rate": 0.0,
  107. "false_negative_rate": 0.0,
  108. "wake_word_durations": {},
  109. "background_noise_types": []
  110. },
  111. "performance_metrics": {
  112. "training_loss_history": [
  113. 0.37983794346815203,
  114. 0.3559694872881339,
  115. 0.36412305645341797,
  116. 0.3536297767990973,
  117. 0.33007913022264235,
  118. 0.3073374384302434,
  119. 0.27736978559959224,
  120. 0.2629716080742154,
  121. 0.23593193613659075,
  122. 0.21611078192548053
  123. ],
  124. "validation_loss_history": [
  125. 0.3825873402464721,
  126. 0.36836917884647846,
  127. 0.42946833227243686,
  128. 0.4340128894481394,
  129. 0.316027254694038,
  130. 0.28219222743064165,
  131. 0.2366164686779181,
  132. 0.22866885715888607,
  133. 0.2114400181712376,
  134. 0.2097783156981071
  135. ],
  136. "training_accuracy_history": [
  137. 0.5955284552845529,
  138. 0.6128048780487805,
  139. 0.6148373983739838,
  140. 0.6178861788617886,
  141. 0.6178861788617886,
  142. 0.6534552845528455,
  143. 0.6798780487804879,
  144. 0.717479674796748,
  145. 0.7164634146341463,
  146. 0.741869918699187
  147. ],
  148. "validation_accuracy_history": [
  149. 0.6466431095406361,
  150. 0.5441696113074205,
  151. 0.6113074204946997,
  152. 0.6113074204946997,
  153. 0.6395759717314488,
  154. 0.6819787985865724,
  155. 0.7420494699646644,
  156. 0.7243816254416962,
  157. 0.773851590106007,
  158. 0.7773851590106007
  159. ],
  160. "learning_rate_history": [
  161. 0.0009755282581475768,
  162. 0.0009045084971874736,
  163. 0.0007938926261462366,
  164. 0.0006545084971874737,
  165. 0.0005,
  166. 0.00034549150281252633,
  167. 0.0002061073738537635,
  168. 9.549150281252634e-05,
  169. 2.4471741852423235e-05,
  170. 0.0
  171. ],
  172. "epoch_times": [
  173. 4.039775133132935,
  174. 1.430232286453247,
  175. 1.4337553977966309,
  176. 1.4198219776153564,
  177. 1.3964359760284424,
  178. 1.4058849811553955,
  179. 1.4285295009613037,
  180. 1.408336877822876,
  181. 1.4008634090423584,
  182. 1.4118022918701172
  183. ]
  184. },
  185. "benchmark_results": {},
  186. "validation_results": {},
  187. "test_results": {
  188. "validation_loss": 0.4692874385250939,
  189. "validation_time": 0.3504519462585449,
  190. "num_samples": 283,
  191. "metrics": {
  192. "accuracy": 0.5618374558303887,
  193. "precision_Class_0": 0.1,
  194. "recall_Class_0": 0.027777777777777776,
  195. "f1_Class_0": 0.043478260869565216,
  196. "support_Class_0":