Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Training Classifier Problem #16

Closed
drorhunvural opened this issue Oct 8, 2022 · 1 comment
Closed

Training Classifier Problem #16

drorhunvural opened this issue Oct 8, 2022 · 1 comment

Comments

@drorhunvural
Copy link

You are giving code block below as an example for Training Classifier

python train.py -m model.py --train_types scPDB_train0.types --test_types scPDB_test0.types -i 200000 --train_recmolcache scPDB_new.molcache2 --test_recmolcache scPDB_new.molcache2 -r val0 -o /model_saves/val9 --base_lr 0.001 --solver Adam

You are using --data_dir (-d) in train.py as below

 eptrain = molgrid.ExampleProvider(shuffle=True, stratify_receptor=True, labelpos=0,balanced=True,
                                      data_root=args.data_dir,recmolcache=args.train_recmolcache)

Where are you reading data_dir from? The training classifier example you shared does not have data_dir in the code block ?
'

@RishalAggarwal
Copy link
Collaborator

The data_dir argument is ignored (despite being passed) for the classification model as all the required data is present in the molcache files. It becomes relevant for the segmentation models

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants