-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RuntimeError! #219
Comments
Hi @SomnusQue , thanks for your attention to our work! Is the code of TinyCLIP latest? It is a bug which is triggered on PyTorch 2.x. checkpoint = functools.partial(checkpoint, use_reentrant=False) |
OMG! The author answer my question! The code which I have really doesn't have these lines! Thx for your patience! |
|
@SomnusQue I fixed the bug in Jan. 11, 2024 (https://github.com/microsoft/Cream/pull/218/files#diff-2c756c8b8b99609dee1b59ce4dcfaf773aa9afbc84e093e03e3e0de653fa0124R28). You can visualize the loss curve in wandb. The loss is normal if it is decreasing : ) |
Thanks for your patience! Due to the cluster, I can't use wandb(because it needs network..?), I change this line in .sh file'--report-to wandb' to '--report-to tensorboard'. Does it have anywhere else need to change in the code? |
@SomnusQue |
sry to bother u again... |
Sorry that I did not test TensorBoard yet. The training data in the provided script is synthetic. --train-data <your yfcc_path or laion_path/> \
--dataset-type webdataset \ |
I downloaded laion file, and put it in the path '/.cache/clip/'. |
@SomnusQue |
I run auto_100weight_inherit_100to75.sh, and meet this problem. I think I have been ready everything for this project, but it still have some problems which I can't solve. Please somebody help me!
The text was updated successfully, but these errors were encountered: