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

What steps to perform Contrastive Pretraining #5

Open
mustansarfiaz opened this issue Mar 31, 2023 · 4 comments
Open

What steps to perform Contrastive Pretraining #5

mustansarfiaz opened this issue Mar 31, 2023 · 4 comments

Comments

@mustansarfiaz
Copy link

Hi,

Thank you for updating your code. However, I need your help to perform contrastive pretraining.
Please correct me, If I am wrong;

for the MoNuSAC example, according to my understanding, the steps are as:
1)- Generate cropped patches
2)- Run train_inc_dec_size_weight_balance.py
3)-Run make_pca_model.ipynb

However, In train_inc_dec_size_weight_balance.py, you are using three extra paths, how to generate patches for them?
1)-MoNuSac_cropped_patches/train/ [generated from create_contrastive_patches.py]
2)- MoNuSac_cropped_patches_5P/train/ [?? how do generate these patches and what is meant by 5P??]
3)- MoNuSac_cropped_patches_10P/train/ [?? how do generate these patches and what is meant by 10P??]
4)- MoNuSac_cropped_patches_20P/train/ [?? how do generate these patches and what is meant by 20P??]
5)-MoNuSac_cropped_patches/test/ [generated from create_contrastive_patches.py]

Finally, the config file is missing from Contrastive_pretraining directory.

It would be great if you help us out.

Regards
Mustansar

@Aayushktyagi
Copy link
Collaborator

Yes your understanding is right.
I have uploaded the dataset and updated the readme file as well.
You can find the dataset here

Thanks

@mustansarfiaz
Copy link
Author

Hi
Thank you for providing the dataset.
Now, can you please provide me the config file [hyperparameters] for Contrastive_pretraining.
Also, it would be good for the users if you also upload the pretrained weights.

Once again,
thank you.

@Aayushktyagi
Copy link
Collaborator

Hi,
I have updated pretrained weights and PCA file for ConSep and MoNuSec. I will update config file in coming days.

Thanks
Aayush

@ptrahuang
Copy link

Hello, when will the config be uploaded?

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

3 participants