Comments (4)
I did these modifications, but it still does not work and gives me this error:
Namespace(batch_size=128, cuda=False, decoder='mlp', decoder_dropout=0.0, decoder_hidden=256, dims=4, dynamic_graph=False, edge_types=2, encoder='mlp', encoder_dropout=0.0, encoder_hidden=256, epochs=500, factor=True, gamma=0.5, hard=False, load_folder='', lr=0.0005, lr_decay=200, no_cuda=False, no_factor=False, num_atoms=5, prediction_steps=10, prior=False, save_folder='./logs', seed=42, skip_first=False, suffix='_springs5', temp=0.5, timesteps=49, var=5e-05)
Traceback (most recent call last):
File "train.py", line 93, in
os.makedirs(save_folder)
File "C:\Users\nzarnaghi\AppData\Local\Continuum\anaconda3\lib\os.py", line 221, in makedirs
mkdir(name, mode)
OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: './logs/exp2020-07-08T12:45:08.925712/'
from nri.
Did you solve it?
I have the same error.
from nri.
I am a Windows user and solved it without modifying line 46 as @wzm2256.
I changed line 93 with the following
save_folder = pathvalidate.sanitize_filepath(save_folder,"_","auto")
if pathvalidate.is_valid_filepath(save_folder):
try: os.makedirs(save_folder)
except WindowsError():
print("Check directory creation!\n")
the pathvalidate library is required.
from nri.
I did these modifications, but it still does not work and gives me this error:C:\Users\sl\Desktop\NRI-master>python train.py
Namespace(no_cuda=False, seed=42, epochs=500, batch_size=128, lr=0.0005, encoder_hidden=256, decoder_hidden=256, temp=0.5, num_atoms=5, encoder='mlp', decoder='mlp', no_factor=False, suffix='_springs5', encoder_dropout=0.0, decoder_dropout=0.0, save_folder='logs', load_folder='', edge_types=2, dims=4, timesteps=49, prediction_steps=10, lr_decay=200, gamma=0.5, skip_first=False, var=5e-05, hard=False, prior=False, dynamic_graph=False, cuda=False, factor=True)
Traceback (most recent call last):
File "C:\Users\sl\Desktop\NRI-master\train.py", line 93, in
os.makedirs(save_folder)
File "", line 225, in makedirs
OSError: [WinError 123] 文件名、目录名或卷标语法不正确。: 'logs/exp2023-10-10T16:59:42.303545/'这是什么意思
Can you tell me how to modify it,Thank you
我是 Windows 用户,并在没有将第 46 行修改为 .我用以下内容更改了第 93 行
save_folder = pathvalidate.sanitize_filepath(save_folder,"_","auto") if pathvalidate.is_valid_filepath(save_folder): try: os.makedirs(save_folder) except WindowsError(): print("Check directory creation!\n")
路径验证库是必需的。
from nri.
Related Issues (20)
- Questions regarding the edges that are created in the latent space
- For the type of edge in the experimental setup. HOT 1
- Request for Kuramoto dataset HOT 5
- Error in running the simulation HOT 1
- my_softmax HOT 3
- Is it possible to learn more than 2 edge-types in unsupervised manner? HOT 4
- Undirected latent graph
- Undirected latent graph
- How to reproduce some paper results
- Where can I find the code of Eq. 12 in the paper?? HOT 2
- Compatibility with Pytorch 1.xx ?
- Sport UV dataset HOT 4
- non-interaction edge type
- Error in class MLP def forward HOT 2
- About edge_accuracy() in utils.py HOT 2
- Unsupervised learning HOT 2
- what does mean edge_type? HOT 1
- what does mean logits shape?
- Results of charge experiment
- /
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 nri.