Git Product home page Git Product logo

Comments (4)

chenf99 avatar chenf99 commented on August 19, 2024

@naoto0804 I'm looking forward to your reply, thank you!

from cross-domain-detection.

naoto0804 avatar naoto0804 commented on August 19, 2024

I downloaded clipart dataset to my local PC right now and confirmed that it exists.

naoto@inouenaoto-no-MacBook-Pro:~/Downloads $ ls -lat clipart/JPEGImages | grep 322583407.jpg
-rw-r--r--     1 naoto  staff    32095 Mar 11  2018 322583407.jpg

Hmm.. have you executed bash prepare_dt_pl.sh as instructed in datasets folder?
In generating pseudo-labeled dataset, we create only annotations, images and a textfile containing the name of images are just linked statically or symbolically.
There may be two possible reasons for the error raised above;
(i) 322583407.jpg does not exist (your guess)
(ii) a parent directory datasets/dt_pl_clipart/JPEGImages does not exist (my guess, bash prepare_dt_pl.sh will create it)

from cross-domain-detection.

chenf99 avatar chenf99 commented on August 19, 2024

Thank you for your reply, I tried it again and I found 322583407.jpg does exist:

cross-domain-detection/datasets$ ls -lat clipart/JPEGImages | grep 322583407.jpg
-rw-r--r-- 1 chenfan chenfan   32095 Mar 11  2018 322583407.jpg

, but I'm sure that I have executed bash prepare_dt_pl.sh, it created a link for dt_pl_clipart/JPEGImages:

cross-domain-detection/datasets/dt_pl_clipart$ ls
Annotations  ImageSets  JPEGImages

I'm puzzled about this situation...

from cross-domain-detection.

chenf99 avatar chenf99 commented on August 19, 2024

I used stat to check what's wrong and I got this:

cross-domain-detection/datasets$ stat dt_pl_clipart/JPEGImages 
  File: 'dt_pl_clipart/JPEGImages' -> './clipart/JPEGImages'
  Size: 20              Blocks: 0          IO Block: 4096   symbolic link
Device: 811h/2065d      Inode: 212074503   Links: 1
Access: (0777/lrwxrwxrwx)  Uid: ( 1001/ chenfan)   Gid: ( 1001/ chenfan)
Access: 2020-02-04 08:34:41.880036622 -0500
Modify: 2019-12-18 02:22:39.030598453 -0500
Change: 2019-12-18 02:22:39.030598453 -0500
 Birth: -
cross-domain-detection/datasets$ stat dt_pl_clipart/JPEGImages/322583407.jpg
stat: cannot stat 'dt_pl_clipart/JPEGImages/322583407.jpg': No such file or directory

and in python, os.path.exists('datasets/dt_pl_clipart/JPEGImages/') returns False

from cross-domain-detection.

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.