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
my content: Amrozi accused his brother, whom he called "the witness", of deliberately distorting his evidence. >>>> Referring to him as only "the witness", Amrozi accused his brother of deliberately distorting his evidence.
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
<ipython-input-20-d97f2d19870d> in <module>()
5 print('my content: ' + ff.read())
6
----> 7 gpt2.copy_file_from_gdrive(file_name)
8 # gpt2.copy
9
1 frames
/usr/lib/python3.6/shutil.py in copyfile(src, dst, follow_symlinks)
118 os.symlink(os.readlink(src), dst)
119 else:
--> 120 with open(src, 'rb') as fsrc:
121 with open(dst, 'wb') as fdst:
122 copyfileobj(fsrc, fdst)
FileNotFoundError: [Errno 2] No such file or directory: '/content/drive/My Drive//content/drive/My Drive/training_data/single_sentence.txt'
The text was updated successfully, but these errors were encountered:
nameofname
added a commit
to nameofname/gpt-2-simple
that referenced
this issue
Aug 6, 2020
Hi all - amazing repo - small issue: I can't supply a file path outside of the root directory in my gdrive to
copy_file_from_gdrive
Code is here :
https://github.com/minimaxir/gpt-2-simple/blob/master/gpt_2_simple/gpt_2.py#L618
Error message :
The text was updated successfully, but these errors were encountered: