Python 3.10.11 (main, May 16 2023, 00:28:57) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
from VisCPM import VisCPMChat
from PIL import Image
model_path= '/home/jovyan/mm_large_model/viscpm_chat_zhplus_checkpoint.pt'
viscpm_chat = VisCPMChat(model_path, image_safety_checker=True)
Traceback (most recent call last):
File "", line 1, in
File "/home/jovyan/mm_large_model/VisCPM/VisCPM/viscpm_chat.py", line 36, in init
files('mypkg.data').joinpath('data1.txt')
NameError: name 'files' is not defined. Did you mean: 'filter'?
exit()
Python 3.10.11 (main, May 16 2023, 00:28:57) [GCC 11.2.0] on linux Type "help", "copyright", "credits" or "license" for more information.