Comments (8)
The latest version of MatchZoo-py (v1.1.1) has solved this issue
When I run the drmm code in tutorials, there is an error says:
Traceback (most recent call last):
File "pydrmm.py", line 64, in
callback=padding_callback
TypeError: init() got an unexpected keyword argument 'batch_size'
Why it occured?
DRMM tutorial has not been updated yet, you can refer to DRMMTKS tutorial
from matchzoo-py.
Please check if CUDA is currently available by using torch.cuda.is_available()
.
from matchzoo-py.
torch.cuda.is_available() returned true. But the speed seems the same as running on CPU.
from matchzoo-py.
@czt616 Try to change the parameter 'device' by setting device=torch.device('cpu')
to check the speed of cpu. The default value of 'device' is torch.device('cuda') when CUDA is available.
from matchzoo-py.
I have the same problems, when torch.cuda.is_available() returned true, but the speed is still now. the gpu rate of utilization is about 10% and most of time is 0%.
from matchzoo-py.
It may result from this issue: #109
from matchzoo-py.
The latest version of MatchZoo-py (v1.1.1) has solved this issue
from matchzoo-py.
The latest version of MatchZoo-py (v1.1.1) has solved this issue
When I run the drmm code in tutorials, there is an error says:
Traceback (most recent call last):
File "pydrmm.py", line 64, in
callback=padding_callback
TypeError: init() got an unexpected keyword argument 'batch_size'
Why it occured?
from matchzoo-py.
Related Issues (20)
- Use of trainer/runer and number of training epochs HOT 1
- bert model HOT 4
- bert processor HOT 4
- For drmm model, dense_output should be flipped at dim=-1? HOT 3
- mz.auto.Tuner , Validator not satifised.
- DSSM tutorial code: RuntimeError Expected object of scalar type Float but got scalar type Double HOT 2
- add the year and source of papers in response retrival module
- Update bert ranking tutorial
- Duplicate data returned when use `num_workers` param (multi-processing) in Dataloader
- add a judgement when early stopping to save a best model
- Is there any tutorial for using the pretrained model for predicting new sentence pair? HOT 1
- DSSM tutorial can not run successfully
- RankHingeLoss代码逻辑不合理 HOT 2
- classification task with bert HOT 1
- DRCN model HOT 1
- attention module masked_fill value error
- The implementation about the MAP is not right
- bert-base-chinese can't be loaded correctly
- Does matchzoo support chinese? The tutorial code in readme is also available for chinese? HOT 1
- How to load a custom CSV file as dataset for matching and ranking ?
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 matchzoo-py.