pasquini-dario / PLR

Guessing passwords via Representation Learning, with style and a mixture of gaussians
51 stars 18 forks source link

tensorflow.python.framework.errors_impl.InvalidArgumentError: Cannot add function '_make_dataset_DNH5BQFnz70' because a different function with the same name already exists. #9

Open GenjiM1n4moto opened 3 years ago

GenjiM1n4moto commented 3 years ago

Hi, I tried several times on train step python train.py CONF/arch1.gin But it can not fully work. The whole log is as below.

Traceback (most recent call last): File "train.py", line 128, in main() File "train.py", line 121, in main pg.train(data, epochs, batch_size, summary_steps_number=100, use_tqdm=True) File "/home/gu/Desktop/PLR-1.14/PasswordGAN/vanilla.py", line 100, in train self.evaluation(sess) File "/home/gu/Desktop/PLR-1.14/PasswordGAN/vanilla.py", line 275, in evaluation ps = sess.run(p_op) File "/home/gu/anaconda3/envs/passgan/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 950, in run run_metadata_ptr) File "/home/gu/anaconda3/envs/passgan/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1173, in _run feed_dict_tensor, options, run_metadata) File "/home/gu/anaconda3/envs/passgan/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1350, in _do_run run_metadata) File "/home/gu/anaconda3/envs/passgan/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1370, in _do_call raise type(e)(node_def, op, message) tensorflow.python.framework.errors_impl.InvalidArgumentError: Cannot add function '_make_dataset_DNH5BQFnz70' because a different function with the same name already exists.

I have trained for three times, every time the process is different, each of them are about 3%, 29%,42%. And I don't know how to solve this problem, and I search for this error log, I can not find similar question.

pasquini-dario commented 3 years ago

Hi,

sorry for the late reply. What tensorflow version are you using?

On Wed, Sep 29, 2021 at 5:41 AM GenjiM1n4moto @.***> wrote:

Hi, I tried several times on train step python train.py CONF/arch1.gin But it can not fully work. The whole log is as below. Traceback (most recent call last): File "/home/gu/anaconda3/envs/passgan/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1356, in _do_call return fn(*args) File "/home/gu/anaconda3/envs/passgan/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1339, in _run_fn self._extend_graph() File "/home/gu/anaconda3/envs/passgan/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1374, in _extend_graph tf_session.ExtendSession(self._session) tensorflow.python.framework.errors_impl.InvalidArgumentError: Cannot add function '_make_dataset_DNH5BQFnz70' because a different function with the same name already exists.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "train.py", line 128, in main() File "train.py", line 121, in main pg.train(data, epochs, batch_size, summary_steps_number=100, use_tqdm=True) File "/home/gu/Desktop/PLR-1.14/PasswordGAN/vanilla.py", line 100, in train self.evaluation(sess) File "/home/gu/Desktop/PLR-1.14/PasswordGAN/vanilla.py", line 275, in evaluation ps = sess.run(p_op) File "/home/gu/anaconda3/envs/passgan/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 950, in run run_metadata_ptr) File "/home/gu/anaconda3/envs/passgan/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1173, in _run feed_dict_tensor, options, run_metadata) File "/home/gu/anaconda3/envs/passgan/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1350, in _do_run run_metadata) File "/home/gu/anaconda3/envs/passgan/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1370, in _do_call raise type(e)(node_def, op, message) tensorflow.python.framework.errors_impl.InvalidArgumentError: Cannot add function '_make_dataset_DNH5BQFnz70' because a different function with the same name already exists.

I have trained for three times, every time the process is different, each of them are about 3%, 29%,42%. And I don't know how to solve this problem, and I search for this error log, I can not find similar question.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pasquini-dario/PLR/issues/9, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKV4CBKNBSB4ICOBXT36YNDUEKDIBANCNFSM5E63LOMA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--

// Dario Pasquini, PhD

GenjiM1n4moto commented 3 years ago

Hi, sorry for the late reply. What tensorflow version are you using? On Wed, Sep 29, 2021 at 5:41 AM GenjiM1n4moto @.**> wrote: Hi, I tried several times on train step python train.py CONF/arch1.gin But it can not fully work. The whole log is as below. Traceback (most recent call last): File "/home/gu/anaconda3/envs/passgan/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1356, in _do_call return fn(args) File "/home/gu/anaconda3/envs/passgan/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1339, in _run_fn self._extend_graph() File "/home/gu/anaconda3/envs/passgan/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1374, in _extend_graph tf_session.ExtendSession(self._session) tensorflow.python.framework.errors_impl.InvalidArgumentError: Cannot add function '_make_dataset_DNH5BQFnz70' because a different function with the same name already exists. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "train.py", line 128, in main() File "train.py", line 121, in main pg.train(data, epochs, batch_size, summary_steps_number=100, use_tqdm=True) File "/home/gu/Desktop/PLR-1.14/PasswordGAN/vanilla.py", line 100, in train self.evaluation(sess) File "/home/gu/Desktop/PLR-1.14/PasswordGAN/vanilla.py", line 275, in evaluation ps = sess.run(p_op) File "/home/gu/anaconda3/envs/passgan/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 950, in run run_metadata_ptr) File "/home/gu/anaconda3/envs/passgan/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1173, in _run feed_dict_tensor, options, run_metadata) File "/home/gu/anaconda3/envs/passgan/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1350, in _do_run run_metadata) File "/home/gu/anaconda3/envs/passgan/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1370, in _do_call raise type(e)(node_def, op, message) tensorflow.python.framework.errors_impl.InvalidArgumentError: Cannot add function '_make_dataset_DNH5BQFnz70' because a different function with the same name already exists. I have trained for three times, every time the process is different, each of them are about 3%, 29%,42%. And I don't know how to solve this problem, and I search for this error log, I can not find similar question. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#9>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKV4CBKNBSB4ICOBXT36YNDUEKDIBANCNFSM5E63LOMA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. -- // Dario Pasquini, PhD

TF 1.14.0, the same as your TF version in README.

pasquini-dario commented 3 years ago

Hi,

I'm trying to reproduce the error on my machine. I'll let you know asap. But, It is not totally clear to me what you mean with: * "I have trained for three times, every time the process is different, each of them are about 3%, 29%,42%.*" What are these percentages?

Additionally, could you send me the tensorboard logs produced during the training?

Best,

On Mon, Oct 4, 2021 at 11:08 AM GenjiM1n4moto @.***> wrote:

Hi, sorry for the late reply. What tensorflow version are you using? … <#m6005186238856921639> On Wed, Sep 29, 2021 at 5:41 AM GenjiM1n4moto @.**> wrote: Hi, I tried several times on train step python train.py CONF/arch1.gin But it can not fully work. The whole log is as below. Traceback (most recent call last): File "/home/gu/anaconda3/envs/passgan/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1356, in _do_call return fn(args) File "/home/gu/anaconda3/envs/passgan/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1339, in _run_fn self._extend_graph() File "/home/gu/anaconda3/envs/passgan/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1374, in _extend_graph tf_session.ExtendSession(self._session) tensorflow.python.framework.errors_impl.InvalidArgumentError: Cannot add function '_make_dataset_DNH5BQFnz70' because a different function with the same name already exists. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "train.py", line 128, in main() File "train.py", line 121, in main pg.train(data, epochs, batch_size, summary_steps_number=100, use_tqdm=True) File "/home/gu/Desktop/PLR-1.14/PasswordGAN/vanilla.py", line 100, in train self.evaluation(sess) File "/home/gu/Desktop/PLR-1.14/PasswordGAN/vanilla.py", line 275, in evaluation ps = sess.run(p_op) File "/home/gu/anaconda3/envs/passgan/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 950, in run run_metadata_ptr) File "/home/gu/anaconda3/envs/passgan/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1173, in _run feed_dict_tensor, options, run_metadata) File "/home/gu/anaconda3/envs/passgan/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1350, in _do_run run_metadata) File "/home/gu/anaconda3/envs/passgan/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1370, in _do_call raise type(e)(node_def, op, message) tensorflow.python.framework.errors_impl.InvalidArgumentError: Cannot add function '_make_dataset_DNH5BQFnz70' because a different function with the same name already exists. I have trained for three times, every time the process is different, each of them are about 3%, 29%,42%. And I don't know how to solve this problem, and I search for this error log, I can not find similar question. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#9 https://github.com/pasquini-dario/PLR/issues/9>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKV4CBKNBSB4ICOBXT36YNDUEKDIBANCNFSM5E63LOMA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . -- // Dario Pasquini, PhD

TF 1.14.0, the same as your TF version in README.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pasquini-dario/PLR/issues/9#issuecomment-933292401, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKV4CBJG3QD5UQXJCRB4UR3UFFVKLANCNFSM5E63LOMA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--

// Dario Pasquini, PhD