-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Issue: Generation of XML files
Description: When I used the below instructions I get errors,
Steps:
$ mkdir seeds
$ printf ">" > seeds/input.xml
$ ./neural-fuzzer.py --max-gen-size 64 0-gen-xml.lstm seeds/
Errors:
- UnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 0: invalid start byte
- ValueError: You are trying to load a weight file containing 16 layers into a model with 0 layers
....
Mainly the errors are coming from below code line while loading the file ,
(char_indices, indices_char) = pickle.load(open(file_model,"r"))
Somehow I work around this error and then get Key error from below code line,
for b in range(batch_size):
for t, char in enumerate(sentence[b]):
x[b, t, char_indices[char]] = 1
Do you have update code ? Or could you please provide some pointers so that I can try to fix them?
Metadata
Metadata
Assignees
Labels
No labels