Skip to content

Commit

Permalink
add: tensorboard results
Browse files Browse the repository at this point in the history
  • Loading branch information
colourfulspring committed Feb 16, 2024
1 parent c3e473b commit cb994d5
Show file tree
Hide file tree
Showing 19 changed files with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions acquire_tensorboard_results.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#!/bin/bash

# Source directory where files are located
source_dir="./results"

# Destination directory where files will be copied
destination_dir="./tensorboard_results"

# Find all files in the source directory starting with "events"
files=$(find "$source_dir" -type f -name 'events*')

# Loop through each file found
for file in $files; do
# Get the directory where the file is located relative to the source directory
relative_dir=$(dirname "${file#$source_dir}")

# Create the corresponding directory structure in the destination directory
mkdir -p "$destination_dir/$relative_dir"

# Copy the file to the destination directory, preserving the directory structure
cp "$file" "$destination_dir/$relative_dir"

# Print out the copied files
echo "Copied $file to $destination_dir/$relative_dir"
done

echo "Copy operation completed."

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit cb994d5

Please sign in to comment.