mirror of
https://github.com/Doctorado-ML/benchmark.git
synced 2025-08-15 23:45:54 +00:00
update output file for jobs
This commit is contained in:
@@ -44,6 +44,8 @@ def generate_experiment(data, score, platform):
|
||||
f"{datetime.datetime.now().month:02d}{datetime.datetime.now().day:02d}"
|
||||
)
|
||||
(model, title, parameters) = data.split("&")
|
||||
file_name = f"{model}_{score}_{platform}_{day}_{generate_experiment.idx}"
|
||||
output_file_name = f"{file_name}.sh"
|
||||
strings = [
|
||||
("<date>", day),
|
||||
("<folder>", path),
|
||||
@@ -51,10 +53,8 @@ def generate_experiment(data, score, platform):
|
||||
("<model>", model),
|
||||
("<title>", title),
|
||||
("<parameters>", parameters),
|
||||
("<file_name>", file_name),
|
||||
]
|
||||
output_file_name = (
|
||||
f"{model}_{score}_{platform}_{day}_{generate_experiment.idx}.sh"
|
||||
)
|
||||
data = lines.copy()
|
||||
for item, value in strings:
|
||||
data = [line.replace(item, value) for line in data]
|
||||
|
@@ -5,6 +5,7 @@
|
||||
#PBS -q workq
|
||||
### mezcla errores con la salida principal
|
||||
#PBS -j oe
|
||||
#PBS -o <file_name>.out
|
||||
### Recursos
|
||||
#PBS -l select=1:ncpus=16:mem=56Gb
|
||||
#PBS -l place=exclhost
|
||||
|
@@ -7,5 +7,6 @@
|
||||
#SBATCH --job-name="<model>-<score>-<date>"
|
||||
#SBATCH --mail-user=ricardo.montanana@alu.uclm.es # email address
|
||||
#SBATCH --mail-type=END
|
||||
#SBATCH -o <file_name>.out
|
||||
#SBATCH -w nodo-7-32
|
||||
# LOAD MODULES, INSERT CODE, AND RUN YOUR PROGRAMS HERE
|
Reference in New Issue
Block a user