From 170d43dcda487025033a93505f236a20817968d2 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sun, 16 Jun 2024 20:11:05 +0200 Subject: [PATCH 1/3] Refactor code for speed and clarity --- .github/workflows/format.yml | 4 ++-- README.md | 10 +++++----- train_tf.py | 1 - 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 81e1018..ce7ff4f 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -6,9 +6,9 @@ name: Ultralytics Actions on: push: - branches: [main,master] + branches: [main, master] pull_request: - branches: [main,master] + branches: [main, master] jobs: format: diff --git a/README.md b/README.md index 384cf70..f30244b 100644 --- a/README.md +++ b/README.md @@ -25,11 +25,11 @@ The primary goal of this project is to develop and share Machine Learning techni Before you dive into waveform vector exploitation with our WAVE code, make sure your machine is set up with the following: - Python 3.7 or later, plus these packages installed with `pip3 install -U -r requirements.txt`: - - `numpy` - - `scipy` - - `torch` (version 0.4.0 or later) - - `tensorflow` (version 1.8.0 or later) - - `plotly` (optional, for visualization) + - `numpy` + - `scipy` + - `torch` (version 0.4.0 or later) + - `tensorflow` (version 1.8.0 or later) + - `plotly` (optional, for visualization) # 🏃 Run Instructions diff --git a/train_tf.py b/train_tf.py index 9b80c23..d483a2c 100644 --- a/train_tf.py +++ b/train_tf.py @@ -4,7 +4,6 @@ import plotly.graph_objs as go import scipy.io import tensorflow as tf -import tensorflow.contrib.eager as tfe from plotly.offline import plot from utils.utils import * From b1c3138ca47f63b68772f6b5e7fa2e98bf6103e9 Mon Sep 17 00:00:00 2001 From: UltralyticsAssistant Date: Sun, 16 Jun 2024 18:11:25 +0000 Subject: [PATCH 2/3] Auto-format by https://ultralytics.com/actions --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f30244b..384cf70 100644 --- a/README.md +++ b/README.md @@ -25,11 +25,11 @@ The primary goal of this project is to develop and share Machine Learning techni Before you dive into waveform vector exploitation with our WAVE code, make sure your machine is set up with the following: - Python 3.7 or later, plus these packages installed with `pip3 install -U -r requirements.txt`: - - `numpy` - - `scipy` - - `torch` (version 0.4.0 or later) - - `tensorflow` (version 1.8.0 or later) - - `plotly` (optional, for visualization) + - `numpy` + - `scipy` + - `torch` (version 0.4.0 or later) + - `tensorflow` (version 1.8.0 or later) + - `plotly` (optional, for visualization) # 🏃 Run Instructions From 7dbfdc9dcf1c38b08eb40133089a2a0f6c36c46c Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sun, 16 Jun 2024 20:11:33 +0200 Subject: [PATCH 3/3] Update format.yml --- .github/workflows/format.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index ce7ff4f..dd6111f 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -6,9 +6,9 @@ name: Ultralytics Actions on: push: - branches: [main, master] + branches: [main] pull_request: - branches: [main, master] + branches: [main] jobs: format: