You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried to run the code with command python3 RNN_train.py -JI exp_config_getting_started.json
but got an error below
Traceback (most recent call last):
File "/home/wangzh/Ropey/RNN_train.py", line 102, in <module>
plot_tsne(model, vocabs[0], model_path, "RN")
File "/home/wangzh/Ropey/RNN_eval.py", line 88, in plot_tsne
tsne_proj = tsne.fit_transform(emb_w)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wangzh/miniconda3/lib/python3.11/site-packages/sklearn/utils/_set_output.py", line 295, in wrapped
data_to_wrap = f(self, X, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wangzh/miniconda3/lib/python3.11/site-packages/sklearn/base.py", line 1474, in wrapper
return fit_method(estimator, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wangzh/miniconda3/lib/python3.11/site-packages/sklearn/manifold/_t_sne.py", line 1135, in fit_transform
self._check_params_vs_input(X)
File "/home/wangzh/miniconda3/lib/python3.11/site-packages/sklearn/manifold/_t_sne.py", line 846, in _check_params_vs_input
raise ValueError("perplexity must be less than n_samples")
ValueError: perplexity must be less than n_samples
I have tried to run the code with command
python3 RNN_train.py -JI exp_config_getting_started.json
but got an error below
This seems some bugs in sklearn or tmplot or modisco, as the same issue posted on maximtrp/tmplot#6 and kundajelab/tfmodisco#112
However, reinstall
tmplot==0.1.2
ormodisco==0.5.16.4.1
doesn't work.I think it will help a lot if the package version is suggested in requirements.txt.
The text was updated successfully, but these errors were encountered: