Comments (6)
I think the package was designed for linux which allows automatic creation of folders vhzihaaocq
for example. However, Windows doesn't allow that to get it to work, changes need to be done to pre-create the folder than use the log.
Checking it out, in src/utils.py all the
subprocess.Popen("mkdir %s" % main_dump_path, shell=True).wait()
lines or similar needs to be changed to
os.makedirs(_path_name)
from arnold.
I think the package was designed for linux which allows automatic creation of folders
vhzihaaocq
for example. However, Windows doesn't allow that to get it to work, changes need to be done to pre-create the folder than use the log.Checking it out, in src/utils.py all the
subprocess.Popen("mkdir %s" % main_dump_path, shell=True).wait()
lines or similar needs to be changed to
os.makedirs(_path_name)
good work, my friend!
from arnold.
@markcutajar ,but a new issue comes,:
File "D:\PyCharmproject\Arnold-master\Arnold-master\src\doom\game.py", line 133, in init
assert os.path.isfile(self.scenario_path)
AssertionError
when I try to print the self.scenario_path, it says:D:\PyCharmproject\Arnold-master\Arnold-master\resources\scenarios\ .wad, there is no filename before'.wad', it really confused me.
Also, the inti_py in the model folder is empty, so how should I do to run the code?
using arnold.py or init_py?
from arnold.
I don't think that error is related, to run the script make sure you run it as explained in the readme:
python arnold.py --scenario defend_the_center --action_combinations "turn_lr+attack" --frame_skip 2
I think the issue is that if you just run python.arnold.py
the scenario is not given and it is not captured earlier in the processes. Better error handling is definitely needed here.
from arnold.
Better error handling is definitely needed here.
OK , I will try it as soon as possible.
from arnold.
@markcutajar I tried it , the new issue says
File "D:\PyCharmproject\Arnold-master\Arnold-master\src\model\dqn\base.py", line 81, in base_forward
output = torch.cat([conv_output] + embeddings, dim=1)
RuntimeError: torch.cat(): Tensors must have same number of dimensions: got 2 and 3
from arnold.
Related Issues (13)
- Different dimensions between model and checkpoint HOT 1
- Question about batch size
- Error While training
- Could not initialize SDL video: HOT 1
- training in deathmatch HOT 4
- You made this only with PyTorch? OMG! HOT 1
- What's the training settings for track_1 and track_2 model HOT 6
- Not support PyTorch 0.4.0 HOT 1
- No such file or directory, confusing concatenation? HOT 3
- How to combine LSTM and experience replay HOT 2
- AssertionError HOT 5
- probelms in comparing code to article "Playing FPS Games with Deep Reinforcement Learning" HOT 6
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 arnold.