Code Monkey home page Code Monkey logo

copycat-abstractive-opinion-summarizer's Issues

Models in Gdrive not extracting

Hi I downloaded the models present in https://drive.google.com/open?id=143BhjMPL5vdNdjk0-duAz4LBB7FBVhXx after the download completes it dose not extracts it gives error

tar -xvf amazon.tar
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains \016])\266\306Y\2076\360\001\3045' where numeric off_t value expected tar: Archive contains \300\253\0016\356\355\235\265' where numeric mode_t value expected
tar: Archive contains \n\'\2616\324\273\0006k\f\341' where numeric time_t value expected tar: Archive contains ^,\3445Y;F\266' where numeric uid_t value expected
tar: Archive contains \303\0\0227o\366l\265' where numeric gid_t value expected \302\032\2706\331^\230\265e\021M6,\252x6\224\357\2046\240\233\001\266R\232\0037\303\203\250\265\3553\2125n\353\2016\004\242&6=\367\2076\004fM6\353\343\035\267\004m\3045\340\333\2306U'w\265\212\271\35654\357\2765\315Z$\266\267\324x\266\360+\0356=*\221\265i\350\230\265\300Nu6 tar: \302\032\2706\331^\230\265e\021M6,\252x6\224\357\2046\240\233\001\266R\232\0037\303\203\250\265\3553\2125n\353\2016\004\242&6=\367\2076\004fM6\353\343\035\267\004m\3045\340\333\2306U'w\265\212\271\35654\357\2765\315Z$\266\267\324x\266\360+\0356=*\221\265i\350\230\265\300Nu6: Unknown file type &', extracted as normal file
tar: ��6�^��eM6,�x6��6���R�7Ã���3�5n�6�&6=�6fM6���m�5�ۘ6U'w����54�5�Z$���x��+6=*��i蘵�Nu6: implausibly old time stamp 1969-12-31 23:59:59
tar: Skipping to next header
tar: Exiting with failure status due to previous error

Error extracting checkpoints archives

When downloading the given Amazon and Yelp checkpoints, and after trying to extract them with tar -xvf amazon.tar, I get the following error:

tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains '\016])Y\2076\0015' where numeric off_t value expected
tar: Exiting with failure status due to previous errors

Anyone got an idea how to fix this?

possible bug in data_utils.py

some reviews don't have all the necessary keys (such as reviewText). It causes the program to crash. I added the following lines:

if any((du_key not in du for du_key in amazon_to_output_map.keys())):
            continue

to line 72 , in the read_amazon_data function in data_utils.py module.
It seems to solve it.

On another note, your repo is wonderful! It was so easy and nice to run!! Thank you !!

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.