Git Product home page Git Product logo

Comments (4)

Foruck avatar Foruck commented on June 14, 2024

Thanks for using. Would you mind provide more detailed information on the environment you used?

from dj-rn.

monacv avatar monacv commented on June 14, 2024

@Foruck

15856/31773MB
[18986:2271 0:440] 07:15:52 Wed Dec 23 [mona@goku:pts/3 +1] ~/research/code
$ git clone https://github.com/DirtyHarryLYL/DJ-RN.git
Cloning into 'DJ-RN'...
remote: Enumerating objects: 90, done.
remote: Counting objects: 100% (90/90), done.
remote: Compressing objects: 100% (90/90), done.
remote: Total 199 (delta 50), reused 0 (delta 0), pack-reused 109
Receiving objects: 100% (199/199), 5.25 MiB | 7.57 MiB/s, done.
Resolving deltas: 100% (83/83), done.
16100/31773MB
[18986:2271 0:441] 07:16:07 Wed Dec 23 [mona@goku:pts/3 +1] ~/research/code
$ cd DJ-RN/
16185/31773MB
[18986:2271 0:442] 07:16:11 Wed Dec 23 [mona@goku:pts/3 +1] ~/research/code/DJ-RN
$ bash script/Generate_Ambiguous_HOI.sh
script/Generate_Ambiguous_HOI.sh: line 2: $'\r': command not found
script/Generate_Ambiguous_HOI.sh: line 3: cd: $'Data\r': No such file or directory
script/Generate_Ambiguous_HOI.sh: line 4: $'\r': command not found
script/Download_data.py:45: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if len(sys.argv) is not 3:

^CTraceback (most recent call last):
  File "script/Download_data.py", line 52, in <module>
    download_file_from_google_drive(file_id, destination)
  File "script/Download_data.py", line 40, in download_file_from_google_drive
    save_response_content(response, destination)
  File "script/Download_data.py", line 25, in save_response_content
    for chunk in response.iter_content(CHUNK_SIZE):
  File "/home/mona/anaconda3/lib/python3.8/site-packages/requests/models.py", line 751, in generate
    for chunk in self.raw.stream(chunk_size, decode_content=True):
  File "/home/mona/anaconda3/lib/python3.8/site-packages/urllib3/response.py", line 571, in stream
    for line in self.read_chunked(amt, decode_content=decode_content):
  File "/home/mona/anaconda3/lib/python3.8/site-packages/urllib3/response.py", line 766, in read_chunked
    chunk = self._handle_chunk(amt)
  File "/home/mona/anaconda3/lib/python3.8/site-packages/urllib3/response.py", line 719, in _handle_chunk
    returned_chunk = self._fp._safe_read(self.chunk_left)
  File "/home/mona/anaconda3/lib/python3.8/http/client.py", line 612, in _safe_read
    data = self.fp.read(amt)
  File "/home/mona/anaconda3/lib/python3.8/socket.py", line 669, in readinto
    return self._sock.recv_into(b)
  File "/home/mona/anaconda3/lib/python3.8/ssl.py", line 1241, in recv_into
    return self.read(nbytes, buffer)
  File "/home/mona/anaconda3/lib/python3.8/ssl.py", line 1099, in read
    return self._sslobj.read(len, buffer)
KeyboardInterrupt

16324/31773MB
[18986:2271 0:443] 07:16:25 Wed Dec 23 [mona@goku:pts/3 +1] ~/research/code/DJ-RN
$ lsb_release -a
LSB Version:	core-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.1 LTS
Release:	20.04
Codename:	focal
16324/31773MB
[18986:2271 0:444] 07:16:34 Wed Dec 23 [mona@goku:pts/3 +1] ~/research/code/DJ-RN
$ python
Python 3.8.5 (default, Sep  4 2020, 07:30:14) 
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 

from dj-rn.

monacv avatar monacv commented on June 14, 2024
$ dos2unix  script/Generate_Ambiguous_HOI.sh 
dos2unix: converting file script/Generate_Ambiguous_HOI.sh to Unix format...

fixed the issue.

from dj-rn.

monacv avatar monacv commented on June 14, 2024

also, relative addresses in the bash script are wrong

examples:


python: can't open file 'script/Download_data.py': [Errno 2] No such file or directory

tar: Ambiguous_HOI.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

from dj-rn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.