Giter VIP home page Giter VIP logo

Comments (15)

yijingru avatar yijingru commented on July 17, 2024

Hi, the pre-trained model on DOTA is released in README.md. You can also use python main.py --data_dir dataPath --dataset dota --phase test to visualize results.

from bbavectors-oriented-object-detection.

PhenomenalOnee avatar PhenomenalOnee commented on July 17, 2024

The models provided using link: https://drive.google.com/drive/folders/1a5LirNJ9-jc21JV11WBGqDYKpur95sno
are zip files that pytoch cannot load
It throws error:
RuntimeError: model_50.pth is a zip archive (did you mean to use torch.jit.load()?)

When i unzip the model_50.pth file it has data.pkl file and when i try to read that file (pickle.load) it throws error
_pickle.UnpicklingError: A load persistent id instruction was encountered,
but no persistent_load function was specified.

from bbavectors-oriented-object-detection.

yijingru avatar yijingru commented on July 17, 2024

Oh, you may need to unzip it. The zip may be made by google drive.

from bbavectors-oriented-object-detection.

PhenomenalOnee avatar PhenomenalOnee commented on July 17, 2024

By unziping it i cant find any model_50.pth file.
Here is the directory structure after unziping the model_50.pth file from google drive
Screenshot from 2020-09-01 09-04-29
Screenshot from 2020-09-01 09-04-35

from bbavectors-oriented-object-detection.

yijingru avatar yijingru commented on July 17, 2024

It's strange, I can download the model model_50.pth using chrome.
Capture

from bbavectors-oriented-object-detection.

PhenomenalOnee avatar PhenomenalOnee commented on July 17, 2024

Have you used the same link i have given in the comment above
I am using chrome in linux

from bbavectors-oriented-object-detection.

yijingru avatar yijingru commented on July 17, 2024

Yes, I used the same link, I can download using Edge too
image
image

from bbavectors-oriented-object-detection.

PhenomenalOnee avatar PhenomenalOnee commented on July 17, 2024

Can you tell me the size of your model_50.pth file and a description of your file downloaded will be helpful like file type byte-size etc
Screenshot from 2020-09-02 10-46-42

from bbavectors-oriented-object-detection.

yijingru avatar yijingru commented on July 17, 2024

Byte size is 870016364

from bbavectors-oriented-object-detection.

PhenomenalOnee avatar PhenomenalOnee commented on July 17, 2024

File type?
Can you provide the screen shot for file properties like mine
Thanks

from bbavectors-oriented-object-detection.

yijingru avatar yijingru commented on July 17, 2024

image

from bbavectors-oriented-object-detection.

PhenomenalOnee avatar PhenomenalOnee commented on July 17, 2024

Your model type is PTH file while mine is ZIP archive, I don't understand why the model you are downloading is pth while mine is downloading as Zip archive.(with same byte size)
Is there any other link for the model?

Screenshot from 2020-09-03 09-02-49

from bbavectors-oriented-object-detection.

yijingru avatar yijingru commented on July 17, 2024

Don't choose open with, please use Download.

from bbavectors-oriented-object-detection.

PhenomenalOnee avatar PhenomenalOnee commented on July 17, 2024

On linux, when i download it direclty, it still download as zip but in windows when i download it directly (without open with), its downloaded as PTH file.
So when i use the file downloaded in Windows, in linux pc it still shows as Zip.
I guess because you used Pytorch version 1.6.0, linux system is reading this as Zip .
Also my pytorch version is 1.3.0 so its throwing error (reading it as zip)

More info here, cuurently the model zip file has a version file that shows 3
pytorch/pytorch#31877

from bbavectors-oriented-object-detection.

yijingru avatar yijingru commented on July 17, 2024

I see, thanks for letting me know.

from bbavectors-oriented-object-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.