Comments (1)
For now, I just removed creating processes in pyirt/solver/model.py
. It probably became slower, but it worked.
So for instance:
for i in range(num_chunk):
p = mp.Process(target=update, args=(user_ell, user_cnt, chunk_list[i][0], chunk_list[i][1],))
procs.append(p)
if num_chunk > 1:
procs = procs_operator(procs, 1200, self.check_interval)
else:
procs = procs_operator(procs, 7200, 0.1)
becomes:
for i in range(num_chunk):
update(user_ell, user_cnt, chunk_list[i][0], chunk_list[i][1])
A similar situation happens around 4 times in this file.
from pyirt.
Related Issues (12)
- Add documentation of MongoDB feature. HOT 1
- There is a error during loading data HOT 8
- item_param_dict and last_item_param_dict HOT 1
- how to use the pyirt? HOT 2
- PyPI release HOT 1
- the smaller the value of beta is ,the more difficult the item is ?
- Issues and questions for running the project
- Duplicate logs
- Multiple interactions HOT 2
- Building module pyirt.util.clib failed HOT 8
- Add documentation of build process 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 pyirt.