-
Notifications
You must be signed in to change notification settings - Fork 84
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
Permission Error in Windows #123
Comments
Running into the same issue. Did you manage to find a solution? |
It could be that this issue is caused because the temporary files created with I'm currently editing the TF Cloud source code locally to see whether I can make things work (this requires me to change a few things here and there). If so, I'll make a pull request. |
This commit will fix this issue: https://github.com/christianversloot/cloud/commit/f6cf754bf5168de039d98a177e40829682641338 Jobs get submitted correctly:
|
Tensoflow cloud version: (0.1.5)
Python version : 3.7.6
OS: Windows 10 64-bit
When running from a notebook:
mnist.py file is as in example :
import tensorflow as tf
Result:
INFO:tensorflow_cloud.core.containerize:Uploading files to GCS.
INFO:tensorflow_cloud.core.containerize:Building and publishing docker image using Google Cloud Build: gcr.io/dydra- 282320/tf_cloud_train:371ef57f_1db8_4c96_aae6_09e373926732
PermissionError Traceback (most recent call last)
in
1 import tensorflow_cloud as tfc
2 tfc.run(entry_point='mnist.py',
----> 3 docker_image_bucket_name="a-test",
4 )
~\anaconda3\lib\site-packages\tensorflow_cloud\core\run.py in run(entry_point, requirements_txt, distribution_strategy, docker_base_image, chief_config, worker_config, worker_count, entry_point_args, stream_logs, docker_image_bucket_name, job_labels, **kwargs)
224 # Delete all the temporary files we created.
225 if preprocessed_entry_point is not None:
--> 226 os.remove(preprocessed_entry_point)
227 for f in container_builder.get_generated_files():
228 os.remove(f)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\Users\semih\AppData\Local\Temp\tmpkjul06z0.py'
The text was updated successfully, but these errors were encountered: