microsoft / evodiff

Generation of protein sequences and evolutionary alignments via discrete diffusion models
MIT License
484 stars 66 forks source link

Using a novel config file in EvoDiff-MSA #49

Open diossynvax opened 2 hours ago

diossynvax commented 2 hours ago

Hello

For EvoDiff-MSA, I'd like to alter the parameters within the config file but within the generate_msa.py script, the config_fpath argument is currently commented out.

Could you tell what alternations would need to be made to the script in order to incorporate a config file with altered parameters?

Best wishes

Matthew

def main(): parser = argparse.ArgumentParser()

parser.add_argument('config_fpath')

#parser.add_argument('out_fpath', type=str, nargs='?',
#                    default=os.getenv('AMLT_OUTPUT_DIR', '/tmp') + '/')
parser.add_argument('-g', '--gpus', default=1, type=int,
                    help='number of gpus per node')
parser.add_argument('-off', '--offset', default=0, type=int,
                    help='Number of GPU devices to skip.')
yangkky commented 1 hour ago

Can't you pass it in using the config_fpath argument?