mahmoodlab / PANTHER

Morphological Prototyping for Unsupervised Slide Representation Learning in Computational Pathology - CVPR 2024
Other
95 stars 11 forks source link

File Missing #5

Closed Rukhmini closed 3 months ago

Rukhmini commented 4 months ago

Hello, there are no files "create_downstream_model", "prepare_emb" in mil_models folder, line 21. from mil_models import create_downstream_model, prepare_emb in the trainer.py file.

andrewsong90 commented 4 months ago

Hi @Rukhmini,

If you examine init.py in mil_models folder, you will see in line 14 from .model_factory import create_downstream_model, prepare_emb, which imports these methods from model_factory.py

Is running trainer.py raising ImportError?

Let me know

Rukhmini commented 4 months ago

I could find the files and give it a try. Thanks for the response.

Rukhmini commented 4 months ago

It will be really helpful if you let me know from where did you download the CPTAC (LUAD and LUSC) clinical table. TIA.

andrewsong90 commented 4 months ago

You can find CPTAC data at TCIA website. Note that the data is updated from time to time.

https://www.cancerimagingarchive.net/browse-collections/