Xilorole / raptgen

MIT License
6 stars 9 forks source link

Not able to reproduce results for CNN_PHMM_VAE with simulation data #13

Open lage2104 opened 1 year ago

lage2104 commented 1 year ago

Here are the steps I take to reproduce the results described in the section "Motif dependent embeddings using simulation data": Running the scripts/multiple.py script with default parameters The following test loss values were observed:

To reproduce the plot, I took the following steps (as there is no script available in the repository)

This results in the following plot: cnn_phmm_vae

However, if I switch off the force_matching option (see https://github.com/Xilorole/raptgen/blob/c4986ca9fa439b9389916c05829da4ff9c30d6f3/scripts/multiple.py#L84), I observe the following test loss values after running scripts/multiple.py with default parameters:

These values are quite close to those reported in the paper (20.60, 16.02, 4.59 respectively). The resulting plot also looks very similar to Fig.2b (HMM profile). cnn_phmm_vae_multiple

I repeated both described experiments (enabled force_matching & disabled force_matching) with different seeds.

Could you clarify which parameters you were using during training of the CNN_PHMM_VAE model?

lKingslayer commented 1 year ago

I also want to ask this question, do we need to make force_matching=False in order to get a similar plot?