You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Failed to run TfCnn example from User Guide: ERROR find objects: parse jsonnet snippet: params.libsonnet:22:5-13 Expected a comma before next field.
#863
Closed
dakoner opened this issue
May 23, 2018
· 4 comments
I get the error:
ERROR find objects: parse jsonnet snippet: params.libsonnet:22:5-13 Expected a comma before next field.
When I looked at components/params.libsonnet, I see it has added a 'mycynnjob' stanza after the components stanza, but it omits the comma between the two components:
components: {
// Component-level parameters, defined initially from 'ks prototype use ...'
// Each object below should correspond to a component in the components/ directory
....
} /// THERE NEEDS TO BE A TRAILING COMMA HERE
mycnnjob: {
batch_size: 32,
....
}
I'm not sure why this is happening, I guess it is some sort of issue with 'ks generate'?
The text was updated successfully, but these errors were encountered:
Yep, I think what's happened is that I downloaded the 'ks' binary from the ksonnet site, and it embeds versions of those files, then blindly updates them without respecting syntax.
I am getting an error when I try to run the TfCnn example from the User Guide:
The docs say to run:
CNN_JOB_NAME=mycnnjob
ks generate tf-cnn ${CNN_JOB_NAME} --name=${CNN_JOB_NAME}
ks apply ${KF_ENV} -c ${CNN_JOB_NAME}
I get the error:
ERROR find objects: parse jsonnet snippet: params.libsonnet:22:5-13 Expected a comma before next field.
When I looked at components/params.libsonnet, I see it has added a 'mycynnjob' stanza after the components stanza, but it omits the comma between the two components:
components: {
// Component-level parameters, defined initially from 'ks prototype use ...'
// Each object below should correspond to a component in the components/ directory
....
} /// THERE NEEDS TO BE A TRAILING COMMA HERE
mycnnjob: {
batch_size: 32,
....
}
I'm not sure why this is happening, I guess it is some sort of issue with 'ks generate'?
The text was updated successfully, but these errors were encountered: