real-stanford / aspire Goto Github PK
View Code? Open in Web Editor NEW[NeurIPS 2022] ASPiRe: Adaptive Skill Priors for Reinforcement Learning
License: MIT License
[NeurIPS 2022] ASPiRe: Adaptive Skill Priors for Reinforcement Learning
License: MIT License
When I run the following command——
python script/train_prior.py --d1 /home/charlie/PycharmProjects/ASPiRe/prior_data/maze_avoid_data/matrix_maze_avoid/ --d2 /home/charlie/PycharmProjects/ASPiRe/prior_data/maze_nav_data/maze2d-medium-dynamic-layout/ --log --kl_analytic --use_batch_norm --name PRIOR_NAME
There is an error occurring——
Traceback (most recent call last):
File "script/train_prior.py", line 241, in <module>
main()
File "script/train_prior.py", line 192, in main
sampler = sample_data(prior_data_source[prior_index])
File "script/train_prior.py", line 139, in sample_data
state_sample[i * EachSample_num:(i + 1) * EachSample_num] = torch.tensor(state[sample_index],
RuntimeError: The expanded size of the tensor (35) must match the existing size (37) at non-singleton dimension 1. Target sizes: [20, 35]. Tensor sizes: [20, 37]
Could you give me a demo of the command python script/train_prior.py --d1 NAV_DATA_PATH --d2 AVOID_DATA_PATH --log --kl_analytic --use_batch_norm --name PRIOR_NAME
?
Thanks for any help :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.