GraphCL icon indicating copy to clipboard operation
GraphCL copied to clipboard

Question about cortex_DIM in net_infomax.py of semisupervised_TU/finetuning

Open ZhengXR-L opened this issue 1 year ago • 2 comments

There is a package import 'from cortex_DIM.functions.gan_losses import get_positive_expectation, get_negative_expectation' Neither 'pip install cortex_DIM' nor 'conda install cortex_DIM' could work.

I wander how can i add this cortex_DIM to my environment? Or anyone can tell me what get_positive_expectation, get_negative_expectation are doing? I need them in loss_infomax in net_infomax.py

ZhengXR-L avatar Jan 18 '24 12:01 ZhengXR-L

Hi,

I think for the cortex_DIM package you can refer to the https://github.com/sunfanyunn/InfoGraph package, which we built on for this experiment (and we didn't use it, cortex_DIM).

yyou1996 avatar Feb 02 '24 14:02 yyou1996

Thanks for your reply.

The codes work well after I add necessary packages provided by you.

ZhengXR-L avatar Feb 02 '24 15:02 ZhengXR-L