@@ -453,9 +453,7 @@ Mod_Prep_TF <- function(
453453 # Path to store TF commands
454454 Path_TF <- IASDT.R :: Path(Path_Model , " TF_postprocess" )
455455 # Path to store log files
456- Path_Log <- IASDT.R :: NormalizePath(
457- IASDT.R :: Path(Path_TF , " log" , " %x-%A-%a.out" ))
458-
456+ Path_Log <- IASDT.R :: NormalizePath(IASDT.R :: Path(Path_TF , " log" ))
459457 fs :: dir_create(c(Path_TF , Path_Log ))
460458
461459 # ****************************************************************
@@ -473,9 +471,9 @@ Mod_Prep_TF <- function(
473471 Path_VP_SLURM <- IASDT.R :: Path(Path_TF , " VP_SLURM.slurm" )
474472 Path_VP_Commands <- IASDT.R :: Path(Path_TF , " VP_Commands.txt" )
475473
476- # Merge and organize TF commands for computing variance partitioning ----
474+ # Merge and organize TensorFlow commands for computing variance partitioning
477475 IASDT.R :: CatTime(
478- " Merge and organize TF commands for computing variance partitioning" ,
476+ " Merge and organize TF TensorFlow for computing variance partitioning" ,
479477 Level = 1 , Time = FALSE )
480478
481479 # Find list of files matching the pattern
@@ -505,8 +503,8 @@ Mod_Prep_TF <- function(
505503 " #SBATCH --gpus-per-node=1" ,
506504 paste0(" #SBATCH --time=" , VP_Time ),
507505 paste0(" #SBATCH --partition=" , Partition_Name ),
508- paste0(" #SBATCH --output=" , Path_Log ),
509- paste0(" #SBATCH --error=" , Path_Log ),
506+ paste0(" #SBATCH --output=" , IASDT.R :: Path( Path_Log , " %x-%A-%a.out " ) ),
507+ paste0(" #SBATCH --error=" , IASDT.R :: Path( Path_Log , " %x-%A-%a.out " ) ),
510508 paste0(" #SBATCH --array=1-" , length(VP_InFiles )),
511509 " \n # File containing commands to be executed" ,
512510 paste0(" File=" , Path_VP_Commands ),
@@ -552,11 +550,11 @@ Mod_Prep_TF <- function(
552550 # both can be run on the same time.
553551 NumFiles <- NumFiles - length(VP_InFiles )
554552
555- # Merge and organize TF commands for LF predictions ----
553+ # Merge and organize TensorFlow commands for LF predictions ----
556554 IASDT.R :: CatTime(
557555 paste0(
558- " Merge and organize TF commands for LF predictions into a maximum of " ,
559- NumFiles , " files" ),
556+ " Merge and organize TensorFlow commands for LF predictions " ,
557+ " into a maximum of " , NumFiles , " files" ),
560558 Level = 1 , Time = FALSE )
561559
562560 # Basic commands for TensorFlow setup
@@ -667,8 +665,8 @@ Mod_Prep_TF <- function(
667665 " #SBATCH --gpus-per-node=1" ,
668666 paste0(" #SBATCH --time=" , LF_Time ),
669667 paste0(" #SBATCH --partition=" , Partition_Name ),
670- paste0(" #SBATCH --output=" , Path_Log ),
671- paste0(" #SBATCH --error=" , Path_Log ),
668+ paste0(" #SBATCH --output=" , IASDT.R :: Path( Path_Log , " %x-%A-%a.out " ) ),
669+ paste0(" #SBATCH --error=" , IASDT.R :: Path( Path_Log , " %x-%A-%a.out " ) ),
672670 paste0(" #SBATCH --array=1-" , NumFiles ),
673671 " " ,
674672 " # Define directories" ,
0 commit comments