sketch-code icon indicating copy to clipboard operation
sketch-code copied to clipboard

I can not found any zip file from data folder

Open Sccotliu opened this issue 7 years ago • 3 comments

Hi, when I execute sh scripts/get_data.sh, then it says , cannot find or open ../data/all_data.zip, ../data/all_data.zip.zip or ../data/all_data.zip.ZIP. and I ready can not found any file from data folder, Then how can I do for this? thank you.

Sccotliu avatar Apr 02 '18 02:04 Sccotliu

@Sccotliu in scripts/get_data.sh source ,you can download data from http://sketch-code.s3.amazonaws.com/data/all_data.zip by yourself ,then unzip the datazip

# scripts/get_data.sh
mkdir ../data
wget http://sketch-code.s3.amazonaws.com/data/all_data.zip -O ../data/all_data.zip
unzip ../data/all_data.zip -d ../data/all_data

whhxz avatar Apr 12 '18 03:04 whhxz

Additionally, the problem may be that you do not have wget installed. If you are using a Mac with OS X, wget does not come already installed with the operating system. If you have Homebrew simply run this command in your terminal brew install wget

That should take care of the issue. Then run the two commands as stated in the Example Usage:

# Get the data and pretrained weights
  sh get_data.sh
  sh get_pretrained_model.sh

Should work from there.

pwill2 avatar Apr 19 '18 14:04 pwill2

it seems something wrong with the data <Error> <Code>NoSuchBucket</Code> <Message>The specified bucket does not exist</Message> <BucketName>sketch-code</BucketName> <RequestId>WB5H2W1CTH387WMT</RequestId> <HostId>+yiy+wnjSlCGrXsxu9UUiZ1AJpZbA0PBedQ2Em/kOh1Xxlc2kQuQhH/V/5kbSQnCW6BDcc99WBs=</HostId> </Error>

ryangithub avatar Apr 07 '23 14:04 ryangithub