I am parsing the command line arguments in my Python code:
parser = argparse.ArgumentParser()
parser.add_argument('-e', '--epochs', type=int, default=50)
parser.add_argument('-ts', '--train-size', type=int, default=None)
parser.add_argument('-ti', '--title', default=None)
args = parser.parse_args()
So everytime I run the Python file I am able to specify title and other things I need. But since PyCharm needs run config to run, I have to manually edit run configs and save everytime I want to run.
Is there way hack to make this thing pop-up just before I run the experiment?
One simple way is to use the terminal from inside and just run the script with args like I do in command prompt, but I lose other configuration like the env vars, Python interpreter, conda environment, etc., when I'm doing this.
Not currently possible, please vote for IDEA-74031 and linked tickets to be notified on any progress with this feature (currently planned for the next major release)