Comments (4)
Hi @csaade,
Thanks for pointing out this problem.
It appears that the reference to badger v2 has changed or removed. Very odd indeed.
In any case, I updated the dependency to version v3 and everything seems to work smoothly now on the main
branch.
Can you please verify and let me know?
from spago.
Hey @matteo-grella,
Thanks for your help - it's working well on my end now! However, I'm still facing some compilation issues in the huggingfaceimporter/clientutils code mostly. Here are the errors:
`../go/src/github.com/nlpodyssey/spago/cmd/huggingfaceimporter/internal/importer.go:62:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in slice literal:
cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
../go/src/github.com/nlpodyssey/spago/cmd/huggingfaceimporter/internal/importer.go:66:4: unknown field 'EnvVar' in struct literal of type cli.StringFlag
../go/src/github.com/nlpodyssey/spago/cmd/huggingfaceimporter/internal/importer.go:69:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in slice literal:
cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
../go/src/github.com/nlpodyssey/spago/cmd/huggingfaceimporter/internal/importer.go:72:4: unknown field 'EnvVar' in struct literal of type cli.StringFlag
../go/src/github.com/nlpodyssey/spago/cmd/huggingfaceimporter/internal/importer.go:76:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
../go/src/github.com/nlpodyssey/spago/cmd/huggingfaceimporter/internal/importer.go:79:4: unknown field 'EnvVar' in struct literal of type cli.BoolFlag
github.com/nlpodyssey/spago/cmd/clientutils
../go/src/github.com/nlpodyssey/spago/cmd/clientutils/client.go:24:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in slice literal:
cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
../go/src/github.com/nlpodyssey/spago/cmd/clientutils/client.go:29:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
../go/src/github.com/nlpodyssey/spago/cmd/clientutils/client.go:34:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in slice literal:
cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
`
Am I doing something wrong?
from spago.
I'm not sure.
You couldn't report here the sequence of operations and commands that led to this error, could you?
from spago.
Solved by updating the module github.com/urfave/cli to v2.
from spago.
Related Issues (20)
- Multi-label BERT classifier from PyTorch HOT 3
- bart-large-mnli multi_class does not agree with Python version HOT 7
- Suitable for categorising intents and slots? HOT 2
- Differences in the output of zero shot classification between python & spago for the same model HOT 1
- Nearly 4 times the memory usage when compared to python for the same model HOT 3
- Gorgonia tensors
- QA Chinese model result does not match python version HOT 2
- v1.0.0-alpha.0: operator gradients are sometimes null in non-obvious ways
- The `deepset` dir must created by manually HOT 4
- flair models no longer work HOT 2
- How to train a lstm network with spago? HOT 1
- how to convert hf models to spago format? HOT 2
- Comparing python and go gives different embeddings HOT 4
- I fucked up HOT 1
- is:issue is:open Issue with bert compiling Q6A example HOT 2
- Moved methods HOT 2
- Detailed Instructions? HOT 2
- Loading converting PyTorch/ Lightning models HOT 1
- Question server example should use http not https
- Help with German zero shot HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spago.