maxhodak / keras-molecules

Autoencoder network for learning a continuous representation of molecular structures.
MIT License
519 stars 146 forks source link

Problem running plot.py #70

Open mythriambatipudi opened 7 years ago

mythriambatipudi commented 7 years ago

After running the sampling from trained model, I tried running the following: python plot.py --data 'encoded.h5' --model 'model.h5'. However, when I do this, I am getting the following error message:

Traceback (most recent call last): File "plot.py", line 58, in main() File "plot.py", line 52, in main plot_2d(args) File "plot.py", line 41, in plot_2d data = np.loadtxt(fname=args.data, dtype=str, delimiter='\t') File "/Users/mythriambatipudi/miniconda2/envs/venv/lib/python2.7/site-packages/numpy/lib/npyio.py", line 927, in loadtxt raise ValueError("Wrong number of columns at line %d" % line_num) ValueError: Wrong number of columns at line 5

I am not sure what is causing this error. Could you please help me with this?