cfrnet icon indicating copy to clipboard operation
cfrnet copied to clipboard

usage of cfr_net_train.py

Open fxiao7 opened this issue 8 years ago • 2 comments

Hi, I'd like to use cfrnet code to run counterfactual analysis. Shall we use cfr_net_train.py to train a model? If so, then what's the usage to call this script? I tried the default setting, but it failed with errors to find files. Thanks for your answer.

fxiao7 avatar Apr 11 '17 02:04 fxiao7

Hi. I think the easiest way to run the code is to run the example example_ihdp.sh and modify it for your purposes. This is described in the readme file. Let me know if you run into trouble.

oddrose avatar Apr 11 '17 19:04 oddrose

Thanks a lot! Got it run now.

PS: some methods/modules need to be fixed for it to run in Windows since tensorflow requires python 3.5.X while there are some methods/modules only supported in python 2

fxiao7 avatar Apr 12 '17 03:04 fxiao7