Skip to content

Commit

Permalink
Code Refactor ruff check --fix --extend-select I (#9)
Browse files Browse the repository at this point in the history
Co-authored-by: UltralyticsAssistant <[email protected]>
  • Loading branch information
glenn-jocher and UltralyticsAssistant authored Jun 16, 2024
1 parent d91cd29 commit 8b2fac7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ name: Ultralytics Actions

on:
push:
branches: [main,master]
branches: [main]
pull_request:
branches: [main,master]
branches: [main]

jobs:
format:
Expand Down
1 change: 0 additions & 1 deletion train_sandd.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ def main():
x = mat["waveforms"] # inputs (nx512) [waveform1 waveform2]
y = mat["targets"].ravel() # outputs (nx4) [position(mm), time(ns), PE, E(MeV)]
nz, nx = x.shape
ny = y.shape

x, _, _ = normalize(x, 1) # normalize each input row
# y, ymu, ys = normalize(y, 0) # normalize each output column
Expand Down

0 comments on commit 8b2fac7

Please sign in to comment.