DmitryUlyanov / Multicore-TSNE

Parallel t-SNE implementation with Python and Torch wrappers.
Other
1.89k stars 228 forks source link

remove verbose from example #31

Closed jona-sassenhagen closed 7 years ago

jona-sassenhagen commented 7 years ago

Running the example as-is, I get:

$python MulticoreTSNE/examples/test.py 2
downloading MNIST
downloaded
Traceback (most recent call last):
  File "MulticoreTSNE/examples/test.py", line 67, in <module>
    mnist_tsne = tsne.fit_transform(mnist, verbose=1)
TypeError: fit_transform() got an unexpected keyword argument 'verbose'

This is not unexpected, as the fit_transform method does not take a verbose flag :)

DmitryUlyanov commented 7 years ago

Hi, thank you for spotting it! I actually wanted to pass this argument to TSNE constructor, can you please change it instead of removing?

jona-sassenhagen commented 7 years ago

Like this?

DmitryUlyanov commented 7 years ago

Yes! Thanks!