Comments (2)
@rosewang2008 Thank you for the informative answer! I think this definitely will help me get started adding this feature.
from gym-cooking.
Hi! The environment does support more than one recipe, for example as described here in the documentation.
It's as easy as just specifying another recipe! Another example is one I just created with two tomato recipes. The file looks like this, with two SimpleTomato
recipes listed as described in the documentation.
When you run the appropriate command, the expected result is that you should see the subtasks contain two copies of the tomato recipe like this:
In our setting, we don't have a notion of "higher" vs. "lower" priority recipes. One way you could integrate that is by defining the environment reward to reflect those priorities; as of right now, environment reward is simply 1 if the agents complete the recipes, and 0 otherwise (rf here).
You could also add in priority information in the info
variable returned by the environment (depending on what information you'd like the environment to pass to the agents). That can be defined here.
Let me know if that helps you get started!
from gym-cooking.
Related Issues (9)
- Missing `misc` module HOT 3
- Minor typo HOT 4
- No run_experiments.sh file HOT 1
- Unable to run example command: ModuleNotFoundError HOT 5
- Two variables with the same name mixup HOT 1
- It seems I configure the environment as described. But I encountered the following error.
- Error occurs as I configure the environment as described HOT 1
- Request for action space specificiation
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 gym-cooking.