Comments (2)
enviroment use: tf-gpu 1.12.0 , linux, python 3.6.8
there is the same error!
really hope to give me some advice ~
from google-research.
Hi there, a problem occured when running the bam/run_classifier.py.
Tensorflow seems to lock the
events.out.tfevents
file until the whole program end, when execute the commandutils.rmkdir(config.checkpoints_dir)
at run_classfier.py line 271,tf.gfile.DeleteRecursively
appears to can't be done and raise the error given belowTraceback (most recent call last): File "D:/bam/run_classifier.py", line 281, in <module> tf.app.run() File "C:\Python36\lib\site-packages\tensorflow\python\platform\app.py", line 125, in run _sys.exit(main(argv)) File "D:/bam/run_classifier.py", line 276, in main utils.rmkdir(config.checkpoints_dir) File "D:\bam\helpers\utils.py", line 71, in rmkdir rmrf(path) File "D:\bam\helpers\utils.py", line 60, in rmrf tf.gfile.DeleteRecursively(path) File "C:\Python36\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 563, in delete_recursively delete_recursively_v2(dirname) File "C:\Python36\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 577, in delete_recursively_v2 pywrap_tensorflow.DeleteRecursively(compat.as_bytes(path), status) File "C:\Python36\lib\site-packages\tensorflow\python\framework\errors_impl.py", line 528, in __exit__ c_api.TF_GetCode(self.status.status)) tensorflow.python.framework.errors_impl.FailedPreconditionError: Failed to remove a directory: bam_dir\models\debug-model\checkpoints; Directory not empty
The enviroment currently use : tensorflow-gpu 1.13.1 windows10.
However, when run this code on centos, the problem doesn't exist.
Really hope to give me some advice
Following the steps in the repo, I am trying to run command python -m bam.run_classifier debug-model $BAM_DIR '{"debug": true}'
as a minimal test. However, below line of code, raise Extra data: line 1 column 5 (char 4) error
. Do you have any idea what should be the root cause? I tried to run other commands, still, this line raises an issue with the JSON.
Line raining the error:
\bam\run_classifier.py", line 258, in main config = configure.Config(topdir, model_name, **json.loads(hparams))
Error:
raise JSONDecodeError("Extra data", s, end) json.decoder.JSONDecodeError: Extra data: line 1 column 5 (char 4)
from google-research.
Related Issues (20)
- auto_dropout
- Stochastic muzero
- Your brain got fried HOT 1
- issue-1
- issue-2
- Can't get TiDE to handle future covariates
- Possible error in MobileBert embedding convolution
- fvlm: cannot import name 'clip_utils' from 'utils'
- kws_streaming needs updates to be usable on latest tensorflow
- About the Synthetic Repetition HOT 3
- i3d model's input range for FVD calculation
- Finetuning deplot
- Redundancy of jnp.where operation in d3pm p_logits.
- IABOT
- [email protected]
- Proposal for Collaborative Research on New Supervised Contrastive Learning Loss Functions
- TFT is not sorting based on dates automatically.
- I want to know the AI basics
- your code
- Your code made me vomit
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 google-research.