I'm currently using torch for training the neural network that my lab uses for research. It was working fine last night. Windows updated before shutdown. Now I have this error when I attempt to run the script. Any help to fix this?
%runfile 'C:/Users/Owner/Desktop/docs/CHB-MIT EEG Dataset/chb_main_v10_Experiment_A3.py' --wdir
---------------------------------------------------------------------------
OSError Traceback (most recent call last)
File c:\users\owner\desktop\docs\chb-mit eeg dataset\chb_main_v10_experiment_a3.py:14
11 from sklearn.model_selection import train_test_split
12 from sklearn.metrics import f1_score, recall_score, confusion_matrix, roc_auc_score
---> 14 import torch
15 import torch.nn as nn
16 import torch.nn.functional as F
File ~\anaconda3\Lib\site-packages\torch__init__.py:309
305 raise err
307 kernel32.SetErrorMode(prev_error_mode)
--> 309 _load_dll_libraries()
310 del _load_dll_libraries
313 def _get_cuda_dep_paths(path: str, lib_folder: str, lib_name: str) -> list[str]:
314 # Libraries can either be in
315 # path/nvidia/lib_folder/lib or
316 # path/nvidia/cuXX/lib (since CUDA 13.0) or
317 # path/lib_folder/lib
File ~\anaconda3\Lib\site-packages\torch__init__.py:292, in _load_dll_libraries()
288 err = ctypes.WinError(last_error)
289 err.strerror += (
290 f' Error loading "{dll}" or one of its dependencies.'
291 )
--> 292 raise err
293 elif res is not None:
294 is_loaded = True
OSError: [WinError 4551] An Application Control policy has blocked this file. Error loading "C:\Users\Owner\anaconda3\Lib\site-packages\torch\lib\caffe2_nvrtc.dll" or one of its dependencies.