-
Notifications
You must be signed in to change notification settings - Fork 644
Modifications for Windows support in Chapters 4, 5, 6, 10 and 11 #66
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Added “if torch.cuda.is_available()” to check if we are using gpu. 2. Added a try except block to upload files to colab. 3. Removed 'fetch data' function as the 'get_data' function was doing the same thing. 4. Fixed path for windows and colab. 5. Added a if condition for using 'model.cuda()' only when we are using gpu.
1. Added a try except block for uploading files in colab and windows. 2. Added a if condition for using 'model.cuda()' only when we are using gpu.
'os.mkdir' was misspelled as 'os.makdir'
1. Added a try except block for uploading files in colab and windows. 2. Added a path to download 'glove.6B.zip' for both colab and windows using wget. 3. Added unzip command for both colab and windows to unzip 'glove.6B.zip'.
1. Added ‘if torch.cuda.is_available()’ to check if we are using gpu. 2. Added a try except block to upload files to colab. 3. Added ‘get_data’ and ‘get_data2’ functions as they were missing. 4. Fixed path for windows and colab. 5. ‘load_atis’ and ‘load_data’ functions were missing, so added it. 6. ‘atis.test.pkl’ and ‘atis.train.pkl’ files were missing, so added these files. 7. Added a if condition for using ‘model.cuda()’ only when we are using gpu.
1. Added try except block for colab and windows users. 2. Fixed path issues.
1. Specified the version of spacy (!pip install spacy==2.2.4). 2. Added try except block for colab and windows users. 3. Fixed the path. 4. Cleaned the code.
1. Added a try except block to upload files. 2. Added alternatives of linux commands for windows.
1. Added try except block for uploading files for colab and non colab users. 2. Added try accept block for windows and colab users for specifying path.
1. Added functions to download files in windows. 2. Added try except block to download these files in both windows and colab. 3. Added alternative of linux commands for windows. 4. Added try except block for specifying path in both windows and colab. 5. Added try except block to upload files in colab.
1. Added functions to download files in windows. 2. Added try except block to download these files in both windows and colab. 3. Added try except block to extract files in windows and colab. 4. Added if condition for model.cuda().
1. Fixed the version of keras-tuner. 2. Fixed some errors.
1. Added try except block to upload files in colab. 2. Added try except block for specifying path in both windows and colab.
kartikay-bagla
approved these changes
Jun 21, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.