Comments (3)
Thanks for the feedback!
- config.py is aborted now, we only use arguments.py now
- I can't figure out this question, can you explain it?
- I run 'python main.py --device 0' in my laptop, and it succeed
from online-3d-bpp-drl.
For quesiton2 :
Thanks for pointing out this, there needs no parameter after --load-model. Just use 'python main.py' to train from scratch or use 'python main.py --load-model' to choose a pretrained model.
For Question3:
That's true, we have not added multiple GPU training since we believe only adding GPU cannot solve such an NP-hard problem. So we recommend PCT https://github.com/alexfrom0815/Online-3D-BPP-PCT, this can solve packing with larger scale
from online-3d-bpp-drl.
For quesiton2 :
Online-3D-BPP-DRL-main# python main.py --mode train --load-model True --use-cuda --item-seq cut2
usage: main.py [-h] [--mode MODE] [--env_name ENV_NAME]
[--container_size CONTAINER_SIZE] [--enable-rotation]
[--load-model] [--load-name LOAD_NAME] [--data-name DATA_NAME]
[--item-size-range ITEM_SIZE_RANGE] [--use-cuda]
[--tensorboard] [--preview PREVIEW] [--item-seq ITEM_SEQ]
[--algorithm ALGORITHM] [--gamma GAMMA]
[--entropy_coef ENTROPY_COEF]
[--value_loss_coef VALUE_LOSS_COEF]
[--invalid_coef INVALID_COEF] [--hidden_size HIDDEN_SIZE]
[--learning_rate LEARNING_RATE] [--eps EPS] [--alpha ALPHA]
[--num_processes NUM_PROCESSES] [--device DEVICE]
[--save_interval SAVE_INTERVAL] [--log_interval LOG_INTERVAL]
[--save_model] [--cases CASES] [--pretrain]
[--num_steps NUM_STEPS] [--enable_rotation]
[--data_name DATA_NAME] [--load_name LOAD_NAME]
[--load_dir LOAD_DIR] [--save_dir SAVE_DIR] [--seed SEED]
[--jump JUMP]
main.py: error: unrecognized arguments: True
Online-3D-BPP-DRL-main# python main.py --mode train --load-model False --use-cuda --item-seq cut2
usage: main.py [-h] [--mode MODE] [--env_name ENV_NAME]
[--container_size CONTAINER_SIZE] [--enable-rotation]
[--load-model] [--load-name LOAD_NAME] [--data-name DATA_NAME]
.......
main.py: error: unrecognized arguments: False
Online-3D-BPP-DRL-main# python main.py --mode train --load-model False --use-cuda --item-seq rs
usage: main.py [-h] [--mode MODE] [--env_name ENV_NAME]
[--container_size CONTAINER_SIZE] [--enable-rotation]
[--load-model] [--load-name LOAD_NAME] [--data-name DATA_NAME]
.......
main.py: error: unrecognized arguments: False
Is --load-model here is used without True/False?
However in readme page :
Example: Train a new model on sequences generated randomly.
You can run 'python main.py --mode train --load-model False --use-cuda --item-seq rs'.
It will take about one day to get a model with satisfying performance.
You can run 'python main.py --help' for some information of common parameters.
There are many other parameters of our project in 'config.py', and all of them are given default values. You can change it if you like.
For Question3:
This may be a misunderstanding on my part, I try to use multiple GPU in code that is not distributed. I try to use more than one device when I try to run the train in a bigger container_size
.
from online-3d-bpp-drl.
Related Issues (19)
- ModuleNotFoundError: No module named 'baselines.common.vec_env.shmem_vec_env' HOT 2
- Unable to access or Execute the env files bin3D.py HOT 2
- gym registration HOT 9
- ValueError: cannot reshape array of size 1600 into shape (10,10) HOT 7
- RuntimeError: symeig_cuda: the algorithm failed to converge HOT 4
- RuntimeError: CUDA out of memory. HOT 1
- RuntimeError: Error(s) in loading state_dict for Policy: size mismatch for base.critic_linear.bias HOT 3
- When I enabled the rotation, program: "RuntimeError: CUDA error: device-side assert triggered HOT 2
- the training speed problem HOT 1
- EOFError at connection.py HOT 3
- visual graph HOT 2
- Learning Online-3D-BPP-DRL - Get amount of the used containers HOT 3
- Learning Online-3D-BPP-DRL - Get amount of the used containers HOT 1
- Extrapolating to 4D HOT 1
- How to map to real-world data? HOT 1
- BrokenPipeError HOT 2
- How to run the code with a2c
- [Paper] Is Figure 2 (left) correct?
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 online-3d-bpp-drl.