Skip to content

Commit

Permalink
style: add subject id to the process title for monitoring
Browse files Browse the repository at this point in the history
- useful for nvidia-smi and/or htop to track pids
  • Loading branch information
ravnoor committed Dec 15, 2024
1 parent bf53c38 commit 9702c7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
options["weight_paths"] = os.path.join(cwd, "weights")
options["experiment"] = "noel_deepFCD_dropoutMC"
logging.info("experiment: {}".format(options["experiment"]))
spt.setproctitle(options["experiment"])
spt.setproctitle(options["experiment"]+'_'+args.id)

# --------------------------------------------------
# initialize the CNN
Expand Down

0 comments on commit 9702c7a

Please sign in to comment.