Skip to content

FileNotFoundError: [Errno 2] No such file or directory: '/home/publico/NeuralNetwork/vzgpt/__incheck/encoder.json' #1

@Gusklin

Description

@Gusklin

Hello,

I tried to run the way you said on the README and I got this error:

(base) publico@Gustavo:~/gpt2-tensorflow-localchat/src$ ./start_localtalk.sh
2024-11-28 00:41:07,367 - root - INFO - GPU 0: NVIDIA GeForce GTX 750 Ti, Free Memory: 1595.0MB, Total Memory: 2048.0MB
2024-11-28 00:41:07,367 - root - INFO - Selected GPU 0: NVIDIA GeForce GTX 750 Ti with 1595.0MB free memory
Traceback (most recent call last):
File "Model-Localtalk.py", line 273, in
model_wrapper = ModelWrapper(models_directory)
File "Model-Localtalk.py", line 89, in init
self.load_model()
File "Model-Localtalk.py", line 105, in load_model
self.enc = encoder.get_encoder(self.model_name, self.models_dir) # Adjusted here
File "/home/publico/gpt2-tensorflow-localchat/src/encoder.py", line 123, in get_encoder
with open(os.path.join(models_dir, model_name, 'encoder.json'), 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/publico/NeuralNetwork/vzgpt/__incheck/encoder.json'

I didn't see a instruction to create such directory, did I do something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions