You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.
System: MacBook Pro (13-inch, 2016)OS: macOS Catalina 10.15.2 (19C57)Toolchain: Swift for TensorFlow Development Snapshot 2019-12-23Xcode: Version 11.3 (11C29)
Bug
After being able to fix the problem with running S4TF program in Xcode Mac project, Python (through interoperation) detects wrong current working directory (CWD) although terminal shows correct CWD in Python after navigating to where main.swift file lives.
Consequences
Since detected CWD is wrong in Xcode project via Python it is difficult to load dataset, save/load parameters, or create new file/directory, etc. in the project location. One way is to use absolute path but usually user expects relative path specification in Python-based DL.
All the works done in CWD will be written to Wrong CWD whereas the desired location from user viewpoint is Correct CWD.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Imported from JIRA: https://bugs.swift.org/browse/TF-1093
Bug
After being able to fix the problem with running S4TF program in Xcode Mac project, Python (through interoperation) detects wrong current working directory (CWD) although terminal shows correct CWD in Python after navigating to where main.swift file lives.
Wrong CWD: /Users/rahulbhalley/Library/Developer/Xcode/DerivedData/WGAN-bgnsyrtevzkjhafkqliiqunqbydo/Build/Products/Debug
Correct CWD: /Users/rahulbhalley/Desktop/Swift/MI-with-Swift/Source-Code/S4TF/WGAN/WGAN
Consequences
Since detected CWD is wrong in Xcode project via Python it is difficult to load dataset, save/load parameters, or create new file/directory, etc. in the project location. One way is to use absolute path but usually user expects relative path specification in Python-based DL.
All the works done in CWD will be written to Wrong CWD whereas the desired location from user viewpoint is Correct CWD.
The text was updated successfully, but these errors were encountered: