Comments (5)
Hi, what's the version of transformers? You can try to use transformers==4.27.4.
from visorgpt.
I got multiple errors while "pip install -r requirements.txt"(especially when there is editable install with /tmp/ ...) so I deleted the relevant lines and installed them manually.
I was able to load the model, but getting errors in gradio this time
File "/opt/conda/envs/visorgpt/lib/python3.8/site-packages/gradio/routes.py", line 534, in predict
output = await route_utils.call_process_api(
File "/opt/conda/envs/visorgpt/lib/python3.8/site-packages/gradio/route_utils.py", line 226, in call_process_api
output = await app.get_blocks().process_api(
File "/opt/conda/envs/visorgpt/lib/python3.8/site-packages/gradio/blocks.py", line 1559, in process_api
data = self.postprocess_data(fn_index, result["prediction"], state)
File "/opt/conda/envs/visorgpt/lib/python3.8/site-packages/gradio/blocks.py", line 1435, in postprocess_data
state[output_id] = self.blocks[output_id].__class__(**args)
File "/opt/conda/envs/visorgpt/lib/python3.8/site-packages/gradio/blocks.py", line 115, in wrapper
return fn(self, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'render'
from visorgpt.
Please try to install gradio==3.25.0 gradio-client==0.0.10
from visorgpt.
I had some other versions discrepancies too: I have reinstalled all required versions and it's working like a charm now.
Thank you @Sierkinhane
from visorgpt.
Thank you for your interest! Btw, welcome to star our project :)
from visorgpt.
Related Issues (7)
- .cache/torch_extensions/py38_cu117/utils/utils.so HOT 5
- The original training data file HOT 17
- What does the generated_sentence.txt generated after training represent? HOT 2
- Does VISORGPT supports to generate multiple instances with different sizes in an image? HOT 1
- Some issues in training HOT 2
- Questions about Kullback-Leibler divergence calculation in Table 4. HOT 1
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 visorgpt.