diff --git a/The_last_model/logs/20230523-133104/train/events.out.tfevents.1684819867.WEIYUQING.524.0.v2 b/The_last_model/logs/20230523-133104/train/events.out.tfevents.1684819867.WEIYUQING.524.0.v2 new file mode 100644 index 0000000..42eb89c Binary files /dev/null and b/The_last_model/logs/20230523-133104/train/events.out.tfevents.1684819867.WEIYUQING.524.0.v2 differ diff --git a/The_last_model/logs/20230523-133104/validation/events.out.tfevents.1684819873.WEIYUQING.524.1.v2 b/The_last_model/logs/20230523-133104/validation/events.out.tfevents.1684819873.WEIYUQING.524.1.v2 new file mode 100644 index 0000000..d825266 Binary files /dev/null and b/The_last_model/logs/20230523-133104/validation/events.out.tfevents.1684819873.WEIYUQING.524.1.v2 differ diff --git a/The_last_model/logs/20230602-154632/train/events.out.tfevents.1685691996.WEIYUQING.20612.0.v2 b/The_last_model/logs/20230602-154632/train/events.out.tfevents.1685691996.WEIYUQING.20612.0.v2 new file mode 100644 index 0000000..4aa8257 Binary files /dev/null and b/The_last_model/logs/20230602-154632/train/events.out.tfevents.1685691996.WEIYUQING.20612.0.v2 differ diff --git a/The_last_model/logs/20230602-154632/validation/events.out.tfevents.1685692007.WEIYUQING.20612.1.v2 b/The_last_model/logs/20230602-154632/validation/events.out.tfevents.1685692007.WEIYUQING.20612.1.v2 new file mode 100644 index 0000000..5c2a8fc Binary files /dev/null and b/The_last_model/logs/20230602-154632/validation/events.out.tfevents.1685692007.WEIYUQING.20612.1.v2 differ diff --git a/The_last_model/logs/20230603-085039/train/events.out.tfevents.1685753443.WEIYUQING.34508.0.v2 b/The_last_model/logs/20230603-085039/train/events.out.tfevents.1685753443.WEIYUQING.34508.0.v2 new file mode 100644 index 0000000..a827041 Binary files /dev/null and b/The_last_model/logs/20230603-085039/train/events.out.tfevents.1685753443.WEIYUQING.34508.0.v2 differ diff --git a/The_last_model/logs/20230603-085039/validation/events.out.tfevents.1685753449.WEIYUQING.34508.1.v2 b/The_last_model/logs/20230603-085039/validation/events.out.tfevents.1685753449.WEIYUQING.34508.1.v2 new file mode 100644 index 0000000..83c0d5a Binary files /dev/null and b/The_last_model/logs/20230603-085039/validation/events.out.tfevents.1685753449.WEIYUQING.34508.1.v2 differ diff --git a/The_last_model/logs/20230603-085253/train/events.out.tfevents.1685753577.WEIYUQING.32316.0.v2 b/The_last_model/logs/20230603-085253/train/events.out.tfevents.1685753577.WEIYUQING.32316.0.v2 new file mode 100644 index 0000000..00c65c9 Binary files /dev/null and b/The_last_model/logs/20230603-085253/train/events.out.tfevents.1685753577.WEIYUQING.32316.0.v2 differ diff --git a/The_last_model/logs/20230603-085253/validation/events.out.tfevents.1685753583.WEIYUQING.32316.1.v2 b/The_last_model/logs/20230603-085253/validation/events.out.tfevents.1685753583.WEIYUQING.32316.1.v2 new file mode 100644 index 0000000..4753e4c Binary files /dev/null and b/The_last_model/logs/20230603-085253/validation/events.out.tfevents.1685753583.WEIYUQING.32316.1.v2 differ diff --git a/The_last_model/logs/20230603-085928/train/events.out.tfevents.1685753972.WEIYUQING.36284.0.v2 b/The_last_model/logs/20230603-085928/train/events.out.tfevents.1685753972.WEIYUQING.36284.0.v2 new file mode 100644 index 0000000..870b990 Binary files /dev/null and b/The_last_model/logs/20230603-085928/train/events.out.tfevents.1685753972.WEIYUQING.36284.0.v2 differ diff --git a/The_last_model/logs/20230603-085928/validation/events.out.tfevents.1685753978.WEIYUQING.36284.1.v2 b/The_last_model/logs/20230603-085928/validation/events.out.tfevents.1685753978.WEIYUQING.36284.1.v2 new file mode 100644 index 0000000..286567e Binary files /dev/null and b/The_last_model/logs/20230603-085928/validation/events.out.tfevents.1685753978.WEIYUQING.36284.1.v2 differ diff --git a/The_last_model/logs/20230603-091304/train/events.out.tfevents.1685754787.WEIYUQING.16360.0.v2 b/The_last_model/logs/20230603-091304/train/events.out.tfevents.1685754787.WEIYUQING.16360.0.v2 new file mode 100644 index 0000000..a61fc1e Binary files /dev/null and b/The_last_model/logs/20230603-091304/train/events.out.tfevents.1685754787.WEIYUQING.16360.0.v2 differ diff --git a/The_last_model/logs/20230603-091304/validation/events.out.tfevents.1685754793.WEIYUQING.16360.1.v2 b/The_last_model/logs/20230603-091304/validation/events.out.tfevents.1685754793.WEIYUQING.16360.1.v2 new file mode 100644 index 0000000..8d0b953 Binary files /dev/null and b/The_last_model/logs/20230603-091304/validation/events.out.tfevents.1685754793.WEIYUQING.16360.1.v2 differ diff --git a/The_last_model/model/ecg_model_three_filters.h5 b/The_last_model/model_last_test202305/ecg_model_three_filters.h5 similarity index 100% rename from The_last_model/model/ecg_model_three_filters.h5 rename to The_last_model/model_last_test202305/ecg_model_three_filters.h5 diff --git a/The_last_model/picture/accuracy.png b/The_last_model/picture_last_test202305/accuracy.png similarity index 100% rename from The_last_model/picture/accuracy.png rename to The_last_model/picture_last_test202305/accuracy.png diff --git a/The_last_model/picture/confusion_matrix.png b/The_last_model/picture_last_test202305/confusion_matrix.png similarity index 100% rename from The_last_model/picture/confusion_matrix.png rename to The_last_model/picture_last_test202305/confusion_matrix.png diff --git a/The_last_model/picture/loss.png b/The_last_model/picture_last_test202305/loss.png similarity index 100% rename from The_last_model/picture/loss.png rename to The_last_model/picture_last_test202305/loss.png diff --git a/The_last_model/utils_CNN_of_ECG.py b/The_last_model/utils_CNN_of_ECG.py index 964024b..963dee8 100644 --- a/The_last_model/utils_CNN_of_ECG.py +++ b/The_last_model/utils_CNN_of_ECG.py @@ -33,7 +33,7 @@ def denoise(date): coeffs[i] = pywt.threshold(coeffs[i], threshold) # get signal that before wavelet rdata = pywt.waverec(coeffs=coeffs, wavelet='db5') - + return rdata # get ECG data,date type and denoise # this function without return diff --git a/requirements.txt b/requirements.txt index 7a78897..4e4780c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,3 +12,7 @@ torch==2.0.0+cu117 torchinfo==1.7.2 tqdm==4.64.1 wfdb==4.1.0 + +keras~=2.10.0 +opencv-python~=4.7.0.72 +scikit-learn~=1.2.1 \ No newline at end of file diff --git a/some-test/readfile.py b/some-test/readfile.py new file mode 100644 index 0000000..e69de29