This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
----------------------------------------------- | |
File Name: test000_test$ | |
Description: test file with opengate on patient | |
Author: Jing$ | |
Date: 25/10/2022$ | |
----------------------------------------------- | |
''' | |
# import libraries | |
import opengate as gate |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
----------------------------------------------- | |
File Name: convert_dcm_to_mhd$ | |
Description: convert dicom files into mhd file | |
Author: Jing$ | |
Date: 16/11/2022$ | |
----------------------------------------------- | |
''' | |
import os |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
----------------------------------------------- | |
File Name: memory_usage$ | |
Description: memroy usage in theory | |
Author: Jing$ | |
Reference: https://stackoverflow.com/questions/43137288/how-to-determine-needed-memory-of-keras-model | |
Date: 9/28/2021$ | |
----------------------------------------------- | |
''' | |
def get_model_memory_usage(batch_size, model): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
----------------------------------------------- | |
File Name: grid search$ | |
Description: | |
Author: Jing$ | |
Date: 8/23/2021$ | |
----------------------------------------------- | |
''' | |
import numpy as np |