uda icon indicating copy to clipboard operation
uda copied to clipboard

expr: Syntax error

Open menghaoma opened this issue 4 years ago • 3 comments

Hi! When I run AUG_COPY=100 bash scripts/download_cifar10.sh ${AUG_COPY} to generate 100 augmented examples for every original example. There is a problem called ''expr: Syntax error''

Can you tell me how to solve this problem?thanks !

menghaoma avatar Oct 23 '19 09:10 menghaoma

I am not sure what's the problem.. It seems to run correctly on linux. Are you using linux?

michaelpulsewidth avatar Oct 24 '19 03:10 michaelpulsewidth

I am not sure what's the problem.. It seems to run correctly on linux. Are you using linux?

Yes, Ubuntu 18.04, I couldn't find the code problem either.

menghaoma avatar Oct 24 '19 08:10 menghaoma

I was having the same problem with Ubuntu. So instead i just use:

AUG_COPY=100 bash scripts/download_cifar10.sh $AUG_COPY

or just:

bash scripts/download_cifar10.sh 100

It worked like a charm. ^^

AlbuquerqueRafael avatar Oct 25 '19 12:10 AlbuquerqueRafael