Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions about the pkl file #19

Open
wym-dlone opened this issue Jul 7, 2021 · 2 comments
Open

Questions about the pkl file #19

wym-dlone opened this issue Jul 7, 2021 · 2 comments

Comments

@wym-dlone
Copy link

wym-dlone commented Jul 7, 2021

No description provided.

@msreevani060
Copy link

While trying to run Run.py file throws error below :
init

Traceback (most recent call last): File "/content/rPPG/run.py", line 65, in runPOS(source) File "/content/rPPG/run.py", line 39, in __call__ capture = CaptureFrames(self.batch_size, source, show_mask=True) File "/content/rPPG/capture_frames.py", line 20, in __init__ self.model.load_state_dict(torch.load('/content/rPPG/linknet.pth')) File "/usr/local/lib/python3.7/dist-packages/torch/serialization.py", line 608, in load return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args) File "/usr/local/lib/python3.7/dist-packages/torch/serialization.py", line 777, in _legacy_load magic_number = pickle_module.load(f, **pickle_load_args) _pickle.UnpicklingError: invalid load key, 'v'.

As i could understand its pickle issue. Please let me know what to do and how to proceed?

@darcarper
Copy link

Al intentar ejecutar el archivo Run.py, aparece el siguiente error: init

Rastreo (última llamada más reciente): Archivo "/content/rPPG/run.py", línea 65, en runPOS(fuente) Archivo "/content/rPPG/run.py", línea 39, en call capture = CaptureFrames(self .batch_size, source, show_mask=True) Archivo "/content/rPPG/capture_frames.py", línea 20, en init self.model.load_state_dict(torch.load('/content/rPPG/linknet.pth')) Archivo " /usr/local/lib/python3.7/dist-packages/torch/serialization.py", línea 608, en el retorno de carga _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args) Archivo "/usr/local/lib/python3 .7/dist-packages/torch/serialization.py", línea 777, en _legacy_load magic_number = pickle_module.load(f, **pickle_load_args) _pickle.UnpicklingError: clave de carga no válida, 'v'.
Como pude entender su problema de salmuera. Por favor, hágame saber qué hacer y cómo proceder.

have you been able to solve?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants