Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ParseException -- Missing name of multi-assignment function call (see parser issues above) #315

Open
j143 opened this issue Mar 13, 2024 · 0 comments

Comments

@j143
Copy link
Owner

j143 commented Mar 13, 2024

# lenet

data = read(path, format="csv")
images = images = train_data[,2:ncol(data)]
labels_int = data[,1]
C = 1
Hin = 28
Win = 28

# Scale images to [-1,1], and one-hot encode the labels
n = nrow(train_data)
images = (images / 255.0) * 2 - 1
labels = table(seq(1, n), labels_int+1, n, 10)

model = lenetTrain(images, labels, images_val, labels_val, C, Hin, Win, 128, 3, 0.007, 0.9, 0.95, 5e-04, TRUE, -1)
$ ./bin/systemds hello.dml 
SYSTEMDS_ROOT not set defaulting to current dir /workspaces/test-systemds/systemds-3.2.0-bin
###############################################################################
#  SYSTEMDS_ROOT= .
#  SYSTEMDS_JAR_FILE= ./systemds-3.2.0.jar
#  SYSDS_EXEC_MODE= singlenode
#  CONFIG_FILE= -config ./conf/SystemDS-config.xml
#  LOG4JPROP= ./conf/log4j.properties
#  CLASSPATH= ./systemds-3.2.0.jar:./lib/*:./target/lib/*
#  HADOOP_HOME= /workspaces/test-systemds/systemds-3.2.0-bin/lib/hadoop
#
#  Running script hello.dml locally with opts: 
###############################################################################
Executing command:     java -Dlog4j.configuration=file:./conf/log4j.properties   -jar ./systemds-3.2.0.jar   -f hello.dml   -exec singlenode   -config ./conf/SystemDS-config.xml   

24/03/13 03:11:11 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
24/03/13 03:11:11 ERROR api.DMLScript: hello.dml, line 69:16 extraneous input '=' expecting {<EOF>, 'source', 'setwd', '[', 'if', 'for', 'parfor', 'while', ID, COMMANDLINE_NAMED_ID, COMMANDLINE_POSITION_ID} ([@428,1608:1608='=',<7>,69:16])
24/03/13 03:11:11 ERROR api.DMLScript: hello.dml, line 69:29 mismatched input ',' expecting {ID, COMMANDLINE_NAMED_ID, COMMANDLINE_POSITION_ID} ([@431,1621:1621=',',<9>,69:29])
24/03/13 03:11:11 ERROR api.DMLScript: hello.dml, line 69:30 mismatched input '2' expecting {ID, COMMANDLINE_NAMED_ID, COMMANDLINE_POSITION_ID} ([@432,1622:1622='2',<61>,69:30])
24/03/13 03:11:11 ERROR api.DMLScript: hello.dml, line 69:42 extraneous input ']' expecting {<EOF>, 'source', 'setwd', '[', 'if', 'for', 'parfor', 'while', ID, COMMANDLINE_NAMED_ID, COMMANDLINE_POSITION_ID} ([@438,1634:1634=']',<11>,69:42])

An Error Occurred : 
           ParseException -- Missing name of multi-assignment function call (see parser issues above).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant