Skip to content

Commit

Permalink
commented out print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
sarthakpati committed Sep 29, 2020
1 parent 37f9f72 commit 1c3a24a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions BrainMaGe/tester/test_ma.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def infer_ma(cfg, device, save_brain, weights):
params['weights'] = weights
start = time.asctime()
startstamp = time.time()
print("\nHostname :" + str(os.getenv("HOSTNAME")))
# print("\nHostname :" + str(os.getenv("HOSTNAME")))
print("\nStart Time :" + str(start))
print("\nStart Stamp:" + str(startstamp))
sys.stdout.flush()
Expand Down Expand Up @@ -196,8 +196,8 @@ def infer_ma(cfg, device, save_brain, weights):
patient[0],
patient[0]+'_brain.nii.gz'))

print("Please check the %s folder for the intermediate outputs if you\"+\
would like to see some intermediate steps." % (os.path.join(params['results_dir'], 'Temp')))
print("Final output stored in : %s" % (params['results_dir']))
# print("Please check the %s folder for the intermediate outputs if you\"+\
# would like to see some intermediate steps." % (os.path.join(params['results_dir'], 'Temp')))
# print("Final output stored in : %s" % (params['results_dir']))
print("Thank you for using BrainMaGe")
print('*'*60)
4 changes: 2 additions & 2 deletions brain_mage_run
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ if __name__ == '__main__':
raise ValueError('Unknown value for mode. Expected one of "MA" or "Multi-4" without the quotes.',
'We received : ', args.mode,
'Common mistakes include spelling mistakes, check it to make sure.')
print("Weight file used :", weights)
print(__file__)
# print("Weight file used :", weights)
# print(__file__)

if DEVICE == 'cpu':
pass
Expand Down

0 comments on commit 1c3a24a

Please sign in to comment.