beta6 / PassGAN

Generative Adversarial Network Password Generator . Updated & improved & working version
MIT License
21 stars 5 forks source link

UnicodeDecodeError #8

Open rafaelbs2 opened 2 days ago

rafaelbs2 commented 2 days ago

Hi, hope you are doing fine!

I faced this issue when trying to run sample.py:

PS C:\passgan> python .\sample.py --input-dir .\pretrained\ --checkpoint .\pretrained\checkpoints\195000.ckpt --output gen_passwords.txt --batch-size 1024 --num-samples 1000000

2024-11-13 14:31:59.529104: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library cudart64_110.dll WARNING:tensorflow:From C:\Users\Main User\AppData\Local\Programs\Python\Python39\lib\site-packages\tensorflow\python\compat\v2_compat.py:96: disable_resource_variables (from tensorflow.python.ops.variable_scope) is deprecated and will be removed in a future version. Instructions for updating: non-resource variables are not supported in the long term Traceback (most recent call last): File "C:\passgan\sample.py", line 91, in charmap, inv_charmap = getmaps(args) File "C:\passgan\sample.py", line 79, in getmaps charmap = pickle.load(f) UnicodeDecodeError: 'ascii' codec can't decode byte 0x83 in position 0: ordinal not in range(128)

Could you please help me to understand what is going on?

Using python 3.9.2 and CUDA 11.2

Regards.

beta6 commented 2 days ago

Sorry, I dont support Windows platform. This software its only tested on Linux