Closed slimebob1975 closed 1 year ago
I don't think this is a SciKeras error. We test something very similar in CI. Is it possible something strange is going on with the permissions on your system?
Thanks @adriangb for your reply. Yes, this is probably something related to permission on my system since I was recently unable to replicate it on another Windows machine. I have noticed something similar happens when I try use copy.deepcopy() on the SciKeras model.
I also get the same error. How did you fix it?
E tensorflow/tsl/platform/windows/windows_file_system.cc:363] ERROR: GetSymbolicLinkTarget cannot open file for \\?\C:\Users\itsme\AppData\Local\Temp\tmpd4kdyj5q GetLastError: 5
W tensorflow/core/util/tensor_slice_reader.cc:98] Could not open C:\Users\itsme\AppData\Local\Temp\tmpd4kdyj5q: UNKNOWN: NewRandomAccessFile failed to Create/Open: C:\Users\itsme\AppData\Local\Temp\tmpd4kdyj5q : Access is denied.
I have not managed to solve it. It has something to do with the permission settings on the particular machine, and our IT department have been looking into it. Without progress so far, I am afriad.
Från: bizso09 @.> Skickat: den 21 oktober 2023 03:58 Till: adriangb/scikeras @.> Kopia: Granat Robert @.>; State change @.> Ämne: Re: [adriangb/scikeras] UNKNOWN: NewRandomAccessFile failed to Create/Open (Issue #291)
I also get the same error. How did you fix it?
E tensorflow/tsl/platform/windows/windows_file_system.cc:363] ERROR: GetSymbolicLinkTarget cannot open file for \?\C:\Users\itsme\AppData\Local\Temp\tmpd4kdyj5qfile://%3f/C:/Users/itsme/AppData/Local/Temp/tmpd4kdyj5q GetLastError: 5
W tensorflow/core/util/tensor_slice_reader.cc:98] Could not open C:\Users\itsme\AppData\Local\Temp\tmpd4kdyj5q: UNKNOWN: NewRandomAccessFile failed to Create/Open: C:\Users\itsme\AppData\Local\Temp\tmpd4kdyj5q : Access is denied.
— Reply to this email directly, view it on GitHubhttps://github.com/adriangb/scikeras/issues/291#issuecomment-1773600852, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWFJZWV2C2VP7LU4IEWY5BTYAMT4JAVCNFSM6AAAAAAVMG2VLGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZTGYYDAOBVGI. You are receiving this because you modified the open/close state.Message ID: @.**@.>>
Introduction
I am trying to save and load a scikeras model in a pipeline with standard scaling and principal component analysis. I can save the pipeline, but when I try to load it I get some strange errors. I am running Jupyter-lab on Windows 10 Enterprise with Python 3.9.16.
The error look like this:
Also in the Anaconda Prompt window I get something mysterious message:
Code for reproduction
where MLPClassifier is taken from https://www.adriangb.com/scikeras/stable/notebooks/MLPClassifier_MLPRegressor.html