Reverse_Engineering_GMs icon indicating copy to clipboard operation
Reverse_Engineering_GMs copied to clipboard

Ground truth file missing

Open cocoaaa opened this issue 3 years ago • 1 comments

Hi, thank you for sharing your code and data. I'm trying to run the reverse_eng_train.py and reverse_eng_test.py scripts, but both are failing due to missing files required in the following lines:

ground_truth_net_all=torch.from_numpy(np.load(opt.ground_truth_dir+ "ground_truth_net_arch_100_15dim.npy"))
ground_truth_loss_all=torch.from_numpy(np.load(opt.ground_truth_dir+ "ground_truth_loss_100_3dim.npy"))
ground_truth_loss_9_all=torch.from_numpy(np.load(opt.ground_truth_dir+ "ground_truth_loss_100_9dim.npy"))

I downloaded the dataset of trained models from the google drive link in the Readme, but couldn't find any information about where we can access those ground-truth data.

Also, could you verify that the file in the google drive 11_model_set_1.pickle contains the 100 trained models? When I load the file (e.g. data = torch.load('11_model_set_1.pickle), I am getting a checkpoint of a single model (and optimizers). I'd appreciate if you could verify that this is the right file to download the trained models.

Thank you!

cocoaaa avatar Feb 05 '22 01:02 cocoaaa

Hi, The ground truth files are available in main directory. The model provided in the drive is correct on my side. Can you please show me the screenshot of the error you are getting?

vishal3477 avatar Jun 17 '22 02:06 vishal3477