Closed hoseinCode closed 11 months ago
Hi, thanks for reporting.
Could you tell me how you are installing ptlflow? Is it by pip?
It seems like the problem is with the torchtext library, which is actually not necessary for ptlflow, so I wonder if there is some way to remove it.
Best
On Thu, Sep 7, 2023, 18:59 seyed hosein alhoseiny @.***> wrote:
hi i have an error from some days ago until Now, when i want install ptlflow package in google colab, colab shows following error: OSError: /usr/local/lib/python3.10/dist-packages/torchtext/lib/libtorchtext.so: undefined symbol: _ZN2at4_ops5zeros4callEN3c108ArrayRefINS2_6SymIntEEENS2_8optionalINS2_10ScalarTypeEEENS6_INS2_6LayoutEEENS6_INS2_6DeviceEEENS6_IbEE
i did all solutions (in google and in stackoverflow) for fixing this error , but error fix for a very short time just, and error appears again. please guide me for fixing error permanently
— Reply to this email directly, view it on GitHub https://github.com/hmorimitsu/ptlflow/issues/51, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF2KE3PHWRXAYKFZ6WFBBP3XZGSJHANCNFSM6AAAAAA4OWYJVM . You are receiving this because you are subscribed to this thread.Message ID: @.***>
yes. by pip
in during installing ptlflow, torchtext installed itself.
when i write !pip install ptlflow command, it install correctly and colab shows successful message and import ptlflow is ok, but when i add some scripts to my code and i run code in colab again, the error appears and red lines appear under import ptlflow command in colab cell.
i did all solutions from stackoverflow but did not fix.
So the errors only happen after adding your scripts?
Is the error with torchtext happening in one of ptlflow's modules,or is it inside your scripts?
On Fri, Sep 8, 2023, 21:01 seyed hosein alhoseiny @.***> wrote:
i did all solutions from stackoverflow but did not fix.
— Reply to this email directly, view it on GitHub https://github.com/hmorimitsu/ptlflow/issues/51#issuecomment-1711636687, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF2KE3MO74BHF42NWMNNGQTXZMJL5ANCNFSM6AAAAAA4OWYJVM . You are receiving this because you commented.Message ID: @.***>
yes after adding scripts. error happening in one of ptlflow modules
hi Mr please introduce me definitive solution for fixing this bug, because i am in trouble some days and My project is delayed. or please say me a similar package that contain three models:PWC-Net,FlowNetC and FlowNetS for ensemble learning in estimating optical flow using python in colab
Hi, I think mmflow has the models you want https://github.com/open-mmlab/mmflow
As for the error, could you provide an example code where the error occurs so that I can check in more details?
Best
On Sun, Sep 10, 2023, 18:09 seyed hosein alhoseiny @.***> wrote:
hi Mr please introduce me definitive solution for fixing this bug, because i am in trouble some days and My project is delayed. or please say me a similar package that contain three models:PWC-Net,FlowNetC and FlowNetS for ensemble learning in estimating optical flow using python in colab
— Reply to this email directly, view it on GitHub https://github.com/hmorimitsu/ptlflow/issues/51#issuecomment-1712772930, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF2KE3KPGVLIHSHT5EK4HL3XZWGWPANCNFSM6AAAAAA4OWYJVM . You are receiving this because you commented.Message ID: @.***>
hi i have an error from some days ago until Now, when i want install ptlflow package in google colab, colab shows following error: OSError: /usr/local/lib/python3.10/dist-packages/torchtext/lib/libtorchtext.so: undefined symbol: _ZN2at4_ops5zeros4callEN3c108ArrayRefINS2_6SymIntEEENS2_8optionalINS2_10ScalarTypeEEENS6_INS2_6LayoutEEENS6_INS2_6DeviceEEENS6_IbEE
i did all solutions (in google and in stackoverflow) for fixing this error , but error fix for a very short time just, and error appears again. please guide me for fixing error permanently