Comments (3)
I also met the problem.
Instruction is as follows:
python main.py --exp_name first_eval --eval_only true --reload_model "./fwd_bwd_ibp.pth" --reload_data "./prim_ibp.test" --beam_eval true --beam_size 10 --emb_dim 1024
--n_enc_layers 6 --n_dec_layers 6 --n_heads 8 --dump_path ./dump
The error record is as follows:
Traceback (most recent call last):
File "main.py", line 232, in
main(params)
File "main.py", line 156, in main
logger = initialize_exp(params)
File "D:\code\python\SymbolicMathematics\src\utils.py", line 57, in initialize_exp
pickle.dump(params, open(os.path.join(params.dump_path, 'params.pkl'), 'wb'))
FileNotFoundError: [Errno 2] No such file or directory: './dump\first_eval\5mqaq8pt0a\params.pkl'
from symbolicmathematics.
For the dump_path parameter (and reload path too), you need an absolute path, like d:/Users/myname/dumped. This should solve the issue with the pickle file.
You can also avoid the random experiment names by specifying one with exp_id,
e.g. parameters
-- dump_path d:/dumped --exp_name bwd_gen --exp_id first
should send all files (pickle, train.log and data.prefix files) into
d:/dumped/bwd_gen/first/
from symbolicmathematics.
File "/home/Partofspeechtaggingforbalochi/mysite/main.py", line 27, in result
pickled_model = pickle.load(open('modelcrf.pkl', 'rb'))
EOFError: Ran out of input
I am facing this problem while hosting the machine learning model on pythonanywhere. can anyone solve this issue
from symbolicmathematics.
Related Issues (20)
- Why does the predict result copy the dataset's answer?
- What is leaf_probs? HOT 1
- When generating random binary tree, what's the meaning of empty nodes? HOT 1
- No such file or directory: './dump\first_eval\5mqaq8pt0a\params.pkl' HOT 1
- Power of variables HOT 1
- graphics card HOT 5
- Versions of the dependencies HOT 1
- multi-gpu HOT 2
- ODE's computation HOT 2
- About the attn_mask
- coefficients HOT 4
- Symbolic solving HOT 2
- about model predict
- I am afraid I have trouble understanding the training data and I cannot find any explanation in the README or paper. HOT 9
- FileNotFoundError: [Errno 2] No such file or directory: './dumped/debug\\ij1patlkqx\\params.pkl' HOT 2
- Is it possible to extract embeddings for an equation? HOT 2
- DataLoader worker exited unexpectedly
- Docker environment
- Process get killed HOT 1
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 symbolicmathematics.